TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.71k stars 1.82k forks source link

build openface failed #1055

Closed hhuangfh closed 10 months ago

hhuangfh commented 10 months ago

somebody help~!

I build this project on ubuntu16.04 as its wiki, with libboost1.58-dev. I have tried this task on ubuntu20.04 with newer version of libboost, but get the same errors.

the following is the last logging: "VisualizationUtils.cpp:(.text.startup+0x28): undefined reference to boost::system::generic_category()' VisualizationUtils.cpp:(.text.startup+0x31): undefined reference toboost::system::system_category()' collect2: error: ld returned 1 exit status exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/build.make:117: recipe for target 'bin/FaceLandmarkImg' failed make[2]: [bin/FaceLandmarkImg] Error 1 CMakeFiles/Makefile2:308: recipe for target 'exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/all' failed make[1]: [exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 "

hhuangfh commented 10 months ago

I found that step 6 Get Boost is optional, and closed it in cmake file. reopen it and the build process is ok