Ofaddons.h(21): fatal error C1083: Cannot open include file: 'ofxVectorMath.h'

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.

ofxcontrolpanel was last updated 3 years ago, and OF evolved since then. Specifically, ofxVectorMath moved into the core, and is now ofVectorMath, in libs / openFrameworks / math. try changing the include (and any function/variable names which are wrong), and it should probably at least compile.

Thank you very much for your answer.
I ported the project from X-code (this was written by somebody else) and there were numerous errors including for instance those associated with an old version of OpenCV.

I fixed many compilation issues but finally decided that it is not worth it, and created the project from scratch.

Good day,
S.