dorian3d / DBoW2

Enhanced hierarchical bag-of-word library for C++
Other
860 stars 368 forks source link

DLib error in installation #4

Closed nabergh closed 9 years ago

nabergh commented 9 years ago

When building with cmake I get the following error:

CMake Error at CMakeLists.txt:17 (find_package): By not providing "FindDLib.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "DLib", but CMake did not find one.

Could not find a package configuration file provided by "DLib" with any of the following names:

DLibConfig.cmake
dlib-config.cmake

Add the installation prefix of "DLib" to CMAKE_PREFIX_PATH or set "DLib_DIR" to a directory containing one of the above files. If "DLib" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

dorian3d commented 9 years ago

Please, install DLib before building DBoW2. DLib is one of my libraries with some generic functions. You can find it here: https://github.com/dorian3d/DLib I realized it's not listed as a dependency, my apologies, I'll update the documentation. Thank you.

LiliMeng commented 9 years ago

Thanks a lot! How shall I change the CMakeLists.txt file in DBoW2 to add the DLib if the DLib has already downloaded and put in the folder of DBoW2?

LiliMeng commented 9 years ago

Sloved! When compile the DLib, I forgot to use $sudo make install after $cmake ..