martinruenz / co-fusion

Co-Fusion: Real-time Segmentation, Tracking and Fusion of Multiple Objects
http://visual.cs.ucl.ac.uk/pubs/cofusion/index.html
GNU General Public License v3.0
495 stars 131 forks source link

Errors about find_package(gSLICr REQUIRED) in CmakeLists.txt #23

Open zhijie2020 opened 2 years ago

zhijie2020 commented 2 years ago

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?

Ma1hn commented 1 year ago

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