Skip to content

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

@zhijie2020

Description

@zhijie2020

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions