san
san

Reputation: 43

Compiling issue in Dlib for face detection

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

error log

Thank You

Upvotes: 0

Views: 489

Answers (1)

Davis King
Davis King

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

Related Questions