You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should not need to change anything in the CMakeLists. Just make sure dlib is correctly installed (on Ubuntu/Debian, you can simply sudo apt install libdlib-dev)
Hi
I tried to build gazr . firstly there was problem in the cmake file . I changed this line in gazr cmakelists
find_package(dlib REQUIRED)
include_directories(${dlib_INCLUDE_DIRS})
to
set(DLIB_PATH "" CACHE PATH "Path to DLIB")
include(/home/tofi/dlib/dlib/cmake)
cmake .. completed without errors . make showing this errors :
[ 1%] Built target gazr
Linking CXX executable gazr_benchmark_head_pose_single_frame
CMakeFiles/gazr_benchmark_head_pose_single_frame.dir/tools/benchmark_head_pose_estimation_single_frame.cpp.o: In function
_GLOBAL__sub_I_main': benchmark_head_pose_estimation_single_frame.cpp:(.text.startup+0x751): undefined reference to
USER_ERROR__missing_dlib_all_source_cpp_file__OR__inconsistent_use_of_DEBUG_or_ENABLE_ASSERTS_preprocessor_directives_'libgazr.so: undefined reference to
dlib::base64::decode(std::istream&, std::ostream&) const' libgazr.so: undefined reference to
dlib::entropy_decoder_kernel_2::decode(unsigned int, unsigned int)'libgazr.so: undefined reference to
dlib::entropy_decoder_kernel_2::set_stream(std::istream&)' libgazr.so: undefined reference to
dlib::base64::base64()'libgazr.so: undefined reference to
dlib::entropy_decoder_kernel_2::get_target(unsigned int)' libgazr.so: undefined reference to
dlib::base64::~base64()'libgazr.so: undefined reference to
dlib::entropy_decoder_kernel_2::~entropy_decoder_kernel_2()' libgazr.so: undefined reference to
dlib::entropy_decoder_kernel_2::entropy_decoder_kernel_2()'collect2: error: ld returned 1 exit status
make[2]: *** [gazr_benchmark_head_pose_single_frame] Error 1
make[1]: *** [CMakeFiles/gazr_benchmark_head_pose_single_frame.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: