Dear All,
I am trying to generate, using the OF project generator for Visual C++ 12, a new project having the following add-ons:
ofxOpenCv
ofxXmlSettings
ofxControlPanel
ofxCsv
ofxMPMFluid
The latest versions of the aforementioned add-ons were downloaded by me and extracted into the correct folder (c:\repo\extra-large\projects\mine\of\addons).
Folowing the generation of the Visual C++ SLN file, I open it without adding any new code
and I attempt to build the project however it fails with the following error:
2>c:\repo\extra-large\projects\mine\of\addons\ofxcontrolpanel\src\ofaddons.h(21): fatal error C1083: Cannot open include file: ‘ofxVectorMath.h’: No such file or directory
2> vectorField.cpp
2> testApp.cpp
I inspected the project properties and I am sure both the linker and the compiler have correct references (release & debug).
Questions:
Why is everything compiled from scratch by Visual C++ ? Is it because some add-one have an existing “lib”
directory under their root while others don’t (e,g, only an src dir)?
If an add on, say ofxOpenCv, has a dependency on another lib / addon do I have to enumerate all of them and add them as compiler/linker dependencies?
Thanks,
S.