I am moving from Codewarrior/Dev C++ to Visual C++ Express.
Whats the best way to start with a clean project file for use with Open Frameworks. I have copied an example, renamed it, changed OF_FULLSCREEN to OF_WINDOW but when I run it, it still uses the old files I guess as runs in full screen.
In moviePlayer example within VC++ express I cleaned out the build by…
(menu) Build > Clean solution
Build > Clean openFrameworksApp
Then when I try to compile the project, I get this error
1>Compiling…
1>testApp.cpp
1>c:\openframeworks\v0.02\libs\openframeworks\utils\ofconstants.h(20) : fatal error C1083: Cannot open include file: ‘windows.h’: No such file or directory
1>Build log was saved at “file://c:\OpenFrameWorks\v0.02\app\moviePlayerExample\obj\Debug\BuildLog.htm”
1>openFrameworksApp - 1 error(s), 0 warning(s)
When I compile the imageLoaderExample it seems to process the files. I get no errors but at the same time no executable. When I build it look like it is compiling every single example.cpp that came in the download. E.g.
I can’t think of what I might have missed from the install doc.
(sdk, ditrectX and set the paths). Can you explain how you got VC 2005 express to produce the executable?
Did you realise you have posted the build log for fontsExample and not imageLoaderExample?
In VS, you choose between building a debug version or release version. In this instance you have built a Release version.
Look in :
*Desktop\open_library\0.04_vs\app\fontsExample\release* and there is a file called openFrameworksApp.exe, that is your compiled executable.
When I build it look like it is compiling every single example.cpp that came in the download
Those aren’t the example applications, those are the libraries that make up openFrameWorks. Every project you build will have those files in, to do graphics, sound, video etc. Once you have built the project once, the next time you build it will only need to update changes, so it won’t build everything from scratch again.