ubuntu 16.04 编译与安装 absl 库(cartographer库安装之1-absl)

set -o errexit
set -o verbose

git clone https://github.com/abseil/abseil-cpp.git
cd abseil-cpp
git checkout d902eb869bcfacc1bad14933ed9af4bed006d481
mkdir build
cd build
cmake -G Ninja
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_INSTALL_PREFIX=/usr/local/stow/absl

ninja
sudo ninja install
cd /usr/local/stow
sudo stow absl

提示错误 sudo: stow: command not found

sudo apt-get install stow
cd /usr/local/stow
sudo stow absl

其实都在:/home/wsh/catkin_google_ws/src/cartographer/scripts 里面
参考添加链接描述


版权声明:本文为w383117613原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。