Reputation: 43
I am new to try dlib library. I have gone through the compiling instruction but still the problem persists. I am using command line for compiling and execution. I used the following commands and gave me errors.
g++ -O3 -I.. ../dlib/all/source.cpp -lpthread -lX11 face_detection_ex.cpp -DDLIB_JPEG_SUPPORT
Thank You
Upvotes: 0
Views: 489
Reputation: 4791
You didn't link to libjpeg. The instructions here http://dlib.net/compile.html tell you what to type to make g++ link to libjpeg. Which is -ljpeg.
Upvotes: 1