cartographer_ros compiling error

asked 2019-12-12 09:52:58 -0500

qazqwert gravatar image

Hi,

I'm trying to install cartographer in ROS melodic on my raspberry pi 4 by following this guide https://google-cartographer-ros.readt...

catkin_make_isolated --install --use-ninja stop prematurely when it reaches cartographer_ros package

The following is a clearer view of the error:

error output

CMakeLists.txt from /usr/src/googletest/googlemock/

CMakeList.txt from /usr/src/googletest/googletest/

This issue is similar to this https://github.com/googlecartographer...

Any help would be appreciated. Thank you

==> Processing catkin package: 'cartographer_ros' ==> Creating build directory: 'build_isolated/cartographer_ros' ==> Building with env: '/home/pi/ros_catkin_ws/install_isolated/env.sh' ==> cmake /home/pi/ros_catkin_ws/src/cartographer_ros/cartographer_ros -DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws/devel_isolated/cartographer_ros -DCMAKE_INSTALL_PREFIX=/home/pi/ros_catkin_ws/install_isolated -G Ninja in '/home/pi/ros_catkin_ws/build_isolated/cartographer_ros' -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found installed version of Eigen: /usr/lib/cmake/eigen3 -- Found required Ceres dependency: Eigen version 3.3.7 in /usr/include/eigen3 -- Found required Ceres dependency: glog -- Found installed version of gflags: /usr/lib/arm-linux-gnueabihf/cmake/gflags -- Detected gflags version: 2.2.2 -- Found required Ceres dependency: gflags -- Found Ceres version: 1.13.0 installed in: /home/pi/ros_catkin_ws/install_isolated with components: [LAPACK, SuiteSparse, SparseLinearAlgebraLibrary, CXSparse, SchurSpecializations, OpenMP] -- Build type: Release Files /home/pi/ros_catkin_ws/build_isolated/cartographer_ros/AllFiles.cmake and - differ CMake Warning at /usr/src/googletest/googlemock/CMakeLists.txt:40 (project): VERSION keyword not followed by a value or was followed by a value that expanded to nothing.

CMake Warning at /usr/src/googletest/googletest/CMakeLists.txt:47 (project): VERSION keyword not followed by a value or was followed by a value that expanded to nothing.

-- Found PythonInterp: /usr/bin/python (found version "2.7.16") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
-- Found GMock: gmock_main;-pthread
-- Using CATKIN_DEVEL_PREFIX: /home/pi/ros_catkin_ws/devel_isolated/cartographer_ros -- Using CMAKE_PREFIX_PATH: /home/pi/ros_catkin_ws/install_isolated;/home/pi/catkin_ws/devel;/opt/ros/melodic -- This workspace overlays: /home/pi/ros_catkin_ws/install_isolated;/home/pi/catkin_ws/devel;/opt/ros/melodic -- Found PythonInterp: /usr/bin/python (found suitable version "2.7.16", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/pi/ros_catkin_ws/build_isolated/cartographer_ros/test_results -- Found gtest: gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.19 -- BUILD_SHARED_LIBS is off -- Using these message generators: gencpp;geneus;genlisp ... (more)

edit retag flag offensive close merge delete