Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
zhijie2020 opened this issue May 25, 2022 · 1 comment
Open

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

zhijie2020 opened this issue May 25, 2022 · 1 comment

Comments

@zhijie2020
Copy link

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
Copy link

Ma1hn commented Jul 24, 2023

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants