Cartographer installation and uninstallation

Note: protoc version will affect the subsequent installation, first make sure the system has no protobuf: locate protobuf; if so, to delete all associated files of all, and then install

1: Install ceres_solver
  (1) -G Ninja -DCXX11 cmake .. the ON =
  (2) Ninja
  (. 3) the install the sudo Ninja

2: installation protobuf3
  (. 1) -G CMake the ON -DCMAKE_BUILD_TYPE Ninja -DCMAKE_POSITION_INDEPENDENT_CODE = = = OFF Release -Dprotobuf_BUILD_TESTS ../cmake
  (2) Ninja
  (. 3) the install the sudo Ninja


. 3 : installation Cartographer
  (1) -G Ninja cmake ..
  (2) Ninja
  (3) sudo install Ninja

3.1 library refresh installation
(1) sudo updatedb

4: in your own ws compiled cartographer_ros


5: uninstall Cartographer
(1) the locate Cartographer
(2) rm .h .a bin all other documents (/ usr / local / share / cartographer / usr / local / include / cartographer / usr / local / bin /)

Guess you like

Origin www.cnblogs.com/mowangaxing/p/11314640.html