severin-lemaignan / gazr

3D head pose estimation using monocular vision
Other
179 stars 55 forks source link

Dependencies issues with dlibConfig.cmake when building gazr using dlib-19.4 in Release mode #9

Closed mxochicale closed 7 years ago

mxochicale commented 7 years ago

I am trying to build dlib-19.4 in release mode to increase the processing speed using "cmake --build . --config Release" but I have been facing the following dependencies issues with dlibConfig.cmake:

$ cmake -Ddlib_DIR=/home/map479-admin/dlib/dlib-19.4/build/dlib/config ..
.
.
.
CMake Error at /home/map479-admin/dlib/dlib-19.4/build/dlib/config/dlibConfig.cmake:35 (include):
  include could not find load file:

    /home/map479-admin/dlib/dlib-19.4/build/dlib/config/dlib.cmake
Call Stack (most recent call first):
  CMakeLists.txt:11 (find_package)

CMake Error at /home/map479-admin/dlib/dlib-19.4/build/dlib/config/dlibConfig.cmake:42 (include):
  include could not find load file:

    /home/map479-admin/dlib/dlib-19.4/include/dlib/cmake_utils/use_cpp_11.cmake
Call Stack (most recent call first):
  CMakeLists.txt:11 (find_package)

To solve the previous problem I installed dlib-19.4 with "sudo cmake --build . --target install" which is not the release mode.

However, I want to install both dlib and gazr in release mode.

Do you have any suggestions?

severin-lemaignan commented 7 years ago

Well, if you encounter issues with compiling and installing dlib in release mode, you should probably open an issue with dlib.

That said, why aren't you using the debian/ubuntu libdlib-dev package?

mxochicale commented 7 years ago

I have tried to install libdlib-dev on Ubuntu 14.04 LTS, it seems that libdlib-dev is not available for Ubuntu 14.04 LTS

I will upgrade my machine to Ubuntu16.04 LTS. Once upgraded I will test it and update this issue.

Thanks for your help

severin-lemaignan commented 7 years ago

Any update? Can we close the issue?

mxochicale commented 7 years ago

I have posted some tests on Ubuntu 16.04x64 for which gazr is partially working. Close this one.

mxochicale commented 7 years ago

You can close this issue as gazr is working now with dlib.19.4.99 on Ubuntu 16.04x64.