Closed shiyamon closed 6 years ago
Here are my notes on this.
https://github.com/bakercp/ofxDlib/blob/master/scripts/formulas/dlib.sh#L40-L53
I haven't been able to get it to work with QTCreator or anything other than project generator / Xcode without disabling JPEG support. You can modify the forumula and re-run boostrap / apothecary to recompile.
Thank you for your quick response. Recompiling without JPEG works!
Hi, I am trying to compile my oF project with VS Code on Mac using an extension below. https://github.com/hiroMTB/vscode_oF
When I try compile a project with ofxDlib I get the error
It seems that a jpeg library included in libdlib.a conflicts with freeimage in oF. As Xcode projects generated by ProjectGenerator don't show this error, I think I am missing some configuration. Do you have any idea for this?
Another idea is re-compile libdlib.a without JPEG support. I also tried re-compile dlib-19.10 with CMake but got the other error,
Enabling "DLIB_ENABLE_ASSERTS" seems not solving this problem.