napframework / nap

NAP Framework source code
https://nap-framework.tech
Mozilla Public License 2.0
404 stars 22 forks source link

failed to compile helloworld #1

Closed dvdrbls closed 3 years ago

dvdrbls commented 3 years ago

hello, I really like to test this framework, i didn't had visual studio 2015 so I installed it along with 2017 that I use for openframeworks, I got this error in 2015 update 3 trying to compile helloworld Capture

what can I do, as you can see both cl.exe skipped

thanks David

cklosters commented 3 years ago

Hi David,

From your output it looks the helloworld solution (and therefore project) generated just fine without any errors. The 'skipped' message is not an error. If the regenerate step actually fails it will not generate a solution at all. I assume you are working from a pre-compiled package and not NAP Source code? You should be able to open the solution the build system created for you in: demos\helloworld\msvc64\helloworld.sln and compile the demo:

image

Unlike Openframeworks, NAP uses a build system to create a solution for your project, including all modules and third party dependencies. You then open this solution to compile the project and run it. I highly recommend you read the NAP distributable package installation instructions, including how to compile and run the helloworld demo, here: https://www.napframework.com/doxygen/d9/d87/install.html

If you work against the NAP source code you generate a solution for the entire NAP code base, including all demos, tools etc. From the source code you create a NAP distributable package for a specific platform. This process is called packaging and results in a pre-compiled NAP package, which is what you download from our website. Once in a while we release a new version of NAP and package it for you on Windows, Linux and macOS. This is similar to working against the source code of Unreal Engine (building the engine from scratch) or using the pre-compiled engine that Epic provides for download. For more information on the difference make sure to read the .readme.

Hope this makes sense.

cklosters commented 3 years ago

I haven't heard anything back and since this is not a bug I'm closing the issue. If you run into a specific issue with the source code feel free to create another ticket.