HalfdanJ / ofxFaceTracker2

Landmark detection addon for openFrameworks using DLIB
Other
209 stars 60 forks source link

ubuntu: undefined reference to 'dlib::entropy_decoder_kernel_2::decode(unsigned int, unsigned int)' #52

Open ratmother opened 5 years ago

ratmother commented 5 years ago

There were no .so files in the libs (windows/osx/android only it seems) I've placed libdlib.so.19.6.0 into the lib folder, however I get this error.

error: undefined reference to 'dlib::entropy_decoder_kernel_2::get_target(unsigned int)'

And this;

error: undefined reference to 'USER_ERROR__missing_dlib_all_source_cpp_fileORinconsistent_use_of_DEBUG_or_ENABLE_ASSERTS_preprocessor_directives'.

icq4ever commented 4 years ago

I think it's because dlib version is not matched with this addon and that you had on your system.

kflak commented 4 years ago

I am getting the same error on Arch Linux, with both the dlib and dlib-git packages from AUR. Where could I get information about which version of dlib is compatible with the addon, and is there an alternative way to integrate that particular library into my oF project rather than relying on the system's own stuff?

kflak commented 4 years ago

OK, figured it out... I ended up ditching the aur packages. Detailing the steps to get it working on my blog: https://roosnaflak.com/tech-and-research/set-up-ofxfacetracker2-on-arch-linux/