CMake cartographer error

asked 2019-08-01 10:07:57 -0600

eagles1982 gravatar image

I installed cartographer using the directions here: https://google-cartographer-ros.readt...

When I try to build my project I get the following error:

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

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


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

-- Configuring incomplete, errors occurred!

It fails at the CMakeLists line:

find_package(cartographer REQUIRED)

Not sure what any of these files it lists are, I haven't found them on my filesystem anywhere.

edit retag flag offensive close merge delete


I also have this problem. Have you found a solution?

jo-jstrm gravatar image jo-jstrm  ( 2021-03-31 10:17:24 -0600 )edit