martinruenz / co-fusion

Co-Fusion: Real-time Segmentation, Tracking and Fusion of Multiple Objects

Home Page:http://visual.cs.ucl.ac.uk/pubs/cofusion/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors about find_package(gSLICr REQUIRED) in CmakeLists.txt

zhijie2020 opened this issue · comments

I follow the intall.sh and got an error while compiling the co-fusion (the last several lines in install.sh):
cmake
-DBOOST_ROOT="${BOOST_ROOT}"
-DOpenCV_DIR="${OpenCV_DIR}"
-DPangolin_DIR="${Pangolin_DIR}"
..

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

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

gSLICrConfig.cmake
gslicr-config.cmake

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

The code is tested on Ubuntu 16.04. the gSLICr package is compiled successfully in path: co-fusion/deps/gSLCr . is there any way to fix it?

have you solved this problem already? I also meet this problem now.