golunovas / mtcnn-cpp

C++ implementation of MTCNN
29 stars 20 forks source link

how to compile #8

Closed flexibility2 closed 5 years ago

flexibility2 commented 5 years ago

hello, thanks for your source code. I wonder how to compile it, because when I run "cmake ." , it occurs some errors, should I put any another orders? Thanks a lot


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

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

CaffeConfig.cmake
caffe-config.cmake

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

-- Configuring incomplete, errors occurred!

golunovas commented 5 years ago

You can provide any custom Caffe_DIR as a cmake parameter in case caffe wasn't installed properly.