cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.1k stars 2.25k forks source link

catkin_make_isolated --install --use-ninja error #1734

Closed GauZen closed 3 years ago

GauZen commented 4 years ago

I use Ubuntu 18.04.5 LTS build the package and follow the instruction from cartographer Ros instruction. I only change local-name: ceres-solver to uri: https://github.com/ceres-solver/ceres-solver.git in .rosinstall. when i do catkin_make_isolated --install --use-ninja. come this error.

Base path: /home/navi/ws
Source space: /home/navi/ws/src
Build space: /home/navi/ws/build_isolated
Devel space: /home/navi/ws/devel_isolated
Install space: /home/navi/ws/install_isolated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 5 packages in topological order:
~~  - cartographer_ros_msgs
~~  - ceres-solver (plain cmake)
~~  - cartographer (plain cmake)
~~  - cartographer_ros
~~  - cartographer_rviz
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The packages or cmake arguments have changed, forcing cmake invocation

==> Processing catkin package: 'cartographer_ros_msgs'
==> Creating build directory: 'build_isolated/cartographer_ros_msgs'
==> cmake /home/navi/ws/src/cartographer_ros/cartographer_ros_msgs -DCATKIN_DEVEL_PREFIX=/home/navi/ws/devel_isolated/cartographer_ros_msgs -DCMAKE_INSTALL_PREFIX=/home/navi/ws/install_isolated -G Ninja in '/home/navi/ws/build_isolated/cartographer_ros_msgs'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.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
-- Using CATKIN_DEVEL_PREFIX: /home/navi/ws/devel_isolated/cartographer_ros_msgs
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/navi/ws/build_isolated/cartographer_ros_msgs/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.28
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- cartographer_ros_msgs: 9 messages, 4 services
-- Configuring done
-- Generating done
-- Build files have been written to: /home/navi/ws/build_isolated/cartographer_ros_msgs
==> ninja -j8 -l8 in '/home/navi/ws/build_isolated/cartographer_ros_msgs'
[81/81] Generating EusLisp manifest code for cartographer_ros_msgs
==> ninja install in '/home/navi/ws/build_isolated/cartographer_ros_msgs'
[13/14] Install the project...
-- Install configuration: ""
-- Installing: /home/navi/ws/install_isolated/_setup_util.py
-- Installing: /home/navi/ws/install_isolated/env.sh
-- Installing: /home/navi/ws/install_isolated/setup.bash
-- Installing: /home/navi/ws/install_isolated/local_setup.bash
-- Installing: /home/navi/ws/install_isolated/setup.sh
-- Installing: /home/navi/ws/install_isolated/local_setup.sh
-- Installing: /home/navi/ws/install_isolated/setup.zsh
-- Installing: /home/navi/ws/install_isolated/local_setup.zsh
-- Installing: /home/navi/ws/install_isolated/.rosinstall
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/LandmarkEntry.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/LandmarkList.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/StatusCode.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/StatusResponse.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/SubmapList.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/SubmapEntry.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/SubmapTexture.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/SensorTopics.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/msg/TrajectoryOptions.msg
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/srv/SubmapQuery.srv
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/srv/FinishTrajectory.srv
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/srv/StartTrajectory.srv
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/srv/WriteState.srv
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/cmake/cartographer_ros_msgs-msg-paths.cmake
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/FinishTrajectoryRequest.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/LandmarkEntry.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SubmapQuery.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/WriteStateResponse.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SubmapTexture.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/WriteStateRequest.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/TrajectoryOptions.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/StatusCode.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SubmapQueryRequest.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/StartTrajectory.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SubmapQueryResponse.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/LandmarkList.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SubmapList.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/FinishTrajectoryResponse.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SensorTopics.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/StartTrajectoryResponse.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/WriteState.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/SubmapEntry.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/StartTrajectoryRequest.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/StatusResponse.h
-- Installing: /home/navi/ws/install_isolated/include/cartographer_ros_msgs/FinishTrajectory.h
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/SubmapTexture.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/SubmapEntry.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/SensorTopics.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/LandmarkEntry.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/SubmapList.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/TrajectoryOptions.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/StatusCode.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/LandmarkList.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/msg/StatusResponse.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/srv
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/srv/SubmapQuery.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/srv/StartTrajectory.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/srv/FinishTrajectory.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/srv/WriteState.l
-- Installing: /home/navi/ws/install_isolated/share/roseus/ros/cartographer_ros_msgs/manifest.l
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_SubmapList.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_LandmarkEntry.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_StatusCode.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_SubmapTexture.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/SensorTopics.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_SubmapEntry.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_SensorTopics.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/SubmapTexture.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/LandmarkList.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/SubmapList.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/SubmapEntry.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_TrajectoryOptions.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/StatusResponse.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/cartographer_ros_msgs-msg.asd
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/TrajectoryOptions.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/StatusCode.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/LandmarkEntry.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_LandmarkList.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/msg/_package_StatusResponse.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/SubmapQuery.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/_package_SubmapQuery.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/_package_StartTrajectory.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/StartTrajectory.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/_package_FinishTrajectory.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/WriteState.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/_package.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/cartographer_ros_msgs-srv.asd
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/_package_WriteState.lisp
-- Installing: /home/navi/ws/install_isolated/share/common-lisp/ros/cartographer_ros_msgs/srv/FinishTrajectory.lisp
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/StatusCode.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/SensorTopics.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/LandmarkList.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/SubmapList.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/TrajectoryOptions.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/StatusResponse.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/SubmapTexture.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/LandmarkEntry.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/SubmapEntry.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/msg/_index.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/_index.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/srv
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/srv/SubmapQuery.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/srv/FinishTrajectory.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/srv/WriteState.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/srv/StartTrajectory.js
-- Installing: /home/navi/ws/install_isolated/share/gennodejs/ros/cartographer_ros_msgs/srv/_index.js
Listing /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/__init__.py ...
Listing /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_LandmarkEntry.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_LandmarkList.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SensorTopics.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_StatusCode.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_StatusResponse.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapEntry.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapList.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapTexture.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_TrajectoryOptions.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/__init__.py ...
Listing /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/srv ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_FinishTrajectory.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_StartTrajectory.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_SubmapQuery.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_WriteState.py ...
Compiling /home/navi/ws/devel_isolated/cartographer_ros_msgs/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/__init__.py ...
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_LandmarkList.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_LandmarkEntry.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_StatusCode.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_LandmarkList.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_StatusResponse.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SensorTopics.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapEntry.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/__init__.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_TrajectoryOptions.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_StatusResponse.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_TrajectoryOptions.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapList.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/__init__.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SensorTopics.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapTexture.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapEntry.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_LandmarkEntry.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapTexture.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_SubmapList.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/msg/_StatusCode.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/__init__.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/__init__.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_SubmapQuery.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_WriteState.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_FinishTrajectory.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/__init__.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_FinishTrajectory.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_SubmapQuery.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_WriteState.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/__init__.py
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_StartTrajectory.pyc
-- Installing: /home/navi/ws/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_StartTrajectory.py
-- Installing: /home/navi/ws/install_isolated/lib/pkgconfig/cartographer_ros_msgs.pc
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/cmake/cartographer_ros_msgs-msg-extras.cmake
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/cmake/cartographer_ros_msgsConfig.cmake
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/cmake/cartographer_ros_msgsConfig-version.cmake
-- Installing: /home/navi/ws/install_isolated/share/cartographer_ros_msgs/package.xml
<== Finished processing package [1 of 5]: 'cartographer_ros_msgs'

==> Processing plain cmake package: 'ceres-solver'
==> Creating build directory: 'build_isolated/ceres-solver/install'
==> Building with env: '/home/navi/ws/install_isolated/env.sh'
==> cmake /home/navi/ws/src/ceres-solver -DCMAKE_INSTALL_PREFIX=/home/navi/ws/install_isolated -G Ninja in '/home/navi/ws/build_isolated/ceres-solver/install'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.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
-- Detected Ceres being used as a git submodule, adding commit hook for Gerrit to: /home/navi/ws/src/ceres-solver/.git
-- Detected Ceres version: 1.13.0 from /home/navi/ws/src/ceres-solver/include/ceres/version.h
-- No preference for use of exported Eigen CMake configuration set, and no hints for include directory provided. Defaulting to preferring an installed/exported Eigen CMake configuration if available.
-- Found installed version of Eigen: /usr/lib/cmake/eigen3
-- Found Eigen: /usr/include/eigen3 (found version "3.3.4") 
-- Found Eigen version 3.3.4: /usr/include/eigen3

   ===============================================================
   Disabling the use of Eigen as a sparse linear algebra library.
   This does not affect the covariance estimation algorithm 
   which can still use the EIGEN_SPARSE_QR algorithm.
   ===============================================================

-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- A library with BLAS API found.
-- Found LAPACK library: /usr/lib/x86_64-linux-gnu/liblapack.so;/usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so
-- Found BLAS library: /usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so
-- A library with BLAS API found.
-- Found AMD headers in: /usr/include/suitesparse
-- Found AMD library: /usr/lib/x86_64-linux-gnu/libamd.so
-- Found CAMD headers in: /usr/include/suitesparse
-- Found CAMD library: /usr/lib/x86_64-linux-gnu/libcamd.so
-- Found COLAMD headers in: /usr/include/suitesparse
-- Found COLAMD library: /usr/lib/x86_64-linux-gnu/libcolamd.so
-- Found CCOLAMD headers in: /usr/include/suitesparse
-- Found CCOLAMD library: /usr/lib/x86_64-linux-gnu/libccolamd.so
-- Found CHOLMOD headers in: /usr/include/suitesparse
-- Found CHOLMOD library: /usr/lib/x86_64-linux-gnu/libcholmod.so
-- Found SUITESPARSEQR headers in: /usr/include/suitesparse
-- Found SUITESPARSEQR library: /usr/lib/x86_64-linux-gnu/libspqr.so
-- Found TBB library: /usr/lib/x86_64-linux-gnu/libtbb.so
-- Found Intel Thread Building Blocks (TBB) library: /usr/lib/x86_64-linux-gnu/libtbb.so, assuming SuiteSparseQR was compiled with TBB.
-- Found TBB_MALLOC library: /usr/lib/x86_64-linux-gnu/libtbbmalloc.so
-- Found Intel Thread Building Blocks (TBB) Malloc library: /usr/lib/x86_64-linux-gnu/libtbbmalloc.so
-- Found SUITESPARSE_CONFIG headers in: /usr/include/suitesparse
-- Found SUITESPARSE_CONFIG library: /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so
-- Found LIBRT library: /usr/lib/x86_64-linux-gnu/librt.so
-- Adding librt: /usr/lib/x86_64-linux-gnu/librt.so to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Did not find METIS library (optional SuiteSparse dependency)
-- Found SuiteSparse: TRUE (found version "5.1.2") 
-- Found SuiteSparse 5.1.2, building with SuiteSparse.
-- Found CXSparse: /usr/include/suitesparse (found version "3.1.9") 
-- Found CXSparse version: 3.1.9, building with CXSparse.
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Found installed version of gflags: /usr/lib/x86_64-linux-gnu/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found Gflags: /usr/include  
-- Found Google Flags header in: /usr/include, in namespace: google
-- No preference for use of exported glog CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported glog CMake configuration if available.
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
-- Found Glog: /usr/include  
-- Found Google Log (glog). Assuming glog was built with gflags support as gflags was found. This will make gflags a public dependency of Ceres.
-- Building with OpenMP.
-- Performing Test COMPILER_HAS_CXX11_FLAG
-- Performing Test COMPILER_HAS_CXX11_FLAG - Success
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE - Success
-- Found unordered_map/set in std namespace.
-- Looking for C++ include memory
-- Looking for C++ include memory - found
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE - Success
-- Found shared_ptr in std namespace using <memory> header.
-- Building Ceres as a static library.
-- No build type specified; defaulting to CMAKE_BUILD_TYPE=Release.
-- Creating configured Ceres config.h output directory: /home/navi/ws/build_isolated/ceres-solver/install/config/ceres/internal
-- Enabling CERES_USE_OPENMP in Ceres config.h
-- Enabling CERES_HAVE_PTHREAD in Ceres config.h
-- Enabling CERES_HAVE_RWLOCK in Ceres config.h
-- Enabling CERES_STD_UNORDERED_MAP in Ceres config.h
-- Build the examples.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/navi/ws/build_isolated/ceres-solver/install
==> ninja -j8 -l8 in '/home/navi/ws/build_isolated/ceres-solver/install'
[196/335] Building CXX object internal.../generated/schur_eliminator_2_3_6.cc.o
FAILED: internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_6.cc.o 
/usr/bin/c++  -DCERES_CXSPARSE_VERSION=\"3.1.9\" -DCERES_GFLAGS_NAMESPACE=google -DCERES_SUITESPARSE_VERSION=\"5.1.2\" -DEIGEN_MPL2_ONLY -DGFLAGS_IS_A_DLL=0 -Iconfig -I/home/navi/ws/src/ceres-solver/include -I/home/navi/ws/src/ceres-solver/internal -I/home/navi/ws/src/ceres-solver/internal/ceres -isystem /usr/include/eigen3 -I/usr/include/suitesparse -fopenmp -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -O3 -DNDEBUG  -fPIC -MD -MT internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_6.cc.o -MF internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_6.cc.o.d -o internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_6.cc.o -c /home/navi/ws/src/ceres-solver/internal/ceres/generated/schur_eliminator_2_3_6.cc
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[203/335] Building CXX object internal.../generated/schur_eliminator_2_3_4.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'ceres-solver': 
  Command '['/home/navi/ws/install_isolated/env.sh', 'ninja', '-j8', '-l8']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/navi/ws/build_isolated/ceres-solver && /home/navi/ws/install_isolated/env.sh ninja -j8 -l8

Command failed, exiting.
MichaelGrupp commented 3 years ago

If you are using Ceres master from source, it's not guaranteed that it will work. Using the apt package should work.