Open Jonathhhan opened 3 years ago
Hi Jonathan, Are you using Visual Studio Community 2017 to compile Ofelia external?
If you start with the existing ofelia project in Visual Studio, you can locate additional addons inside ofxOfelia/libs
directory and manually add that folder in the Visual Studio file system.
And you should also add path to your addon's source folder (and any subfolders) through Property -> C/C++ -> General -> Additional Include Directories
in Visual Studio.
Please let me know if it works.
thank you. it works for ofxvolumetrics (even with vs 2019), but not for ofxcameraanaglyph.
i think the problem is that it uses ofcamera:
class ofxCameraAnaglyph : public ofCamera
(from ofxCameraAnaglyph.h)
because getNearClip() and getFarClip() (from ofCamera) in ofxCameraAnaglyph.cpp is not defined...
do i need to include ofcamera for this addon too?
hi cuinjune, i managed to compile ofelia with additional addons for linux without any issues. but when i want to compile with the same steps for windows, the addons are not recognized. "addon".h not found (in ofxOfeliaPdBindings.h). while compiling ofelia for windows without additional addons works well. here is the example: https://github.com/Jonathhhan/volumetrics_anaglyph_example_ofelia any idea what could be the compiling issue? kind regards, jonathan