Ubuntu16.04下安裝gtsam-3.2.1
編譯到30%時報錯:
/usr/include/boost/serialization/detail/stack_constructor.hpp: In constructor ‘boost::serialization::detail::stack_construct<Archive, T>::stack_construct(Archive&, unsigned int)’:
/usr/include/boost/serialization/detail/stack_constructor.hpp:54:9: error: ‘load_construct_data_adl’ is not a member of ‘boost::serialization’
boost::serialization::load_construct_data_adl(
^
gtsam/CMakeFiles/gtsam.dir/build.make:1022: recipe for target 'gtsam/CMakeFiles/gtsam.dir/inference/Ordering.cpp.o' failed
此時,就需要在usr/include/boost/serialization/detail的stack_constructor.hpp中加上一句:
#include <boost/serialization/serialization.hpp>
再進行make install的時候會報錯說:
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:36 (file):
file cannot create directory: /usr/local/include/gtsam/3rdparty. Maybe need administrative privileges.
此時直接輸入 sudo make install,就解決問題啦。
相關文章
- ubuntu16.04 下安裝mysqlUbuntuMySql
- UBuntu16.04下安裝Docker(親測)UbuntuDocker
- ubuntu16.04下安裝NS3.27UbuntuS3
- ubuntu16.04系統下安裝dockerUbuntuDocker
- ubuntu16.04下的MySQL離線安裝UbuntuMySql
- ubuntu16.04安裝rosUbuntuROS
- 安裝kalibr Ubuntu16.04Ubuntu
- ubuntu16.04 CUDA, CUDNN 安裝UbuntuDNN
- Ubuntu16.04安裝、使用typoraUbuntu
- Ubuntu16.04雙系統安裝及解除安裝Ubuntu
- Ubuntu16.04下安裝破解secureCRT和secureFX的操作記錄UbuntuSecurecrt
- Ubuntu16.04下安裝CUDA9.0和CUDNN7.0填坑UbuntuDNN
- Ubuntu16.04安裝最新版nodejsUbuntuNodeJS
- ubuntu16.04 安裝 rime輸入法Ubuntu
- Ubuntu16.04下安裝QQ的完整操作記錄(經驗證可用)Ubuntu
- Ubuntu16.04 percona MySQL客戶端安裝UbuntuMySql客戶端
- ubuntu16.04在Linux安裝Vivado2017.4UbuntuLinux
- ubuntu16.04 PHP7安裝與Nginx PHPUbuntuPHPNginx
- 華碩飛行堡壘安裝Ubuntu16.04Ubuntu
- ubuntu16.04安裝cuda8+opencv3.4+tensorflowUbuntuOpenCV
- win8.1平板安裝ubuntu16.04的折騰Ubuntu
- 【TensorFLow】Ubuntu16.04安裝CUDA8.0+cuDNN6.0+TensorFlowUbuntuDNN
- 基於Ubuntu16.04的django+uwsgi+nginx安裝部署UbuntuDjangoNginx
- Ubuntu16.04中安裝gcc4.9和g++4.9UbuntuGC
- ORB_SLAM2安裝編譯測試ubuntu16.04ORBSLAM編譯Ubuntu
- ubuntu16.04安裝python3.6.7遇到的坑記錄UbuntuPython
- 【MindSpore】Ubuntu16.04上成功安裝GPU版MindSpore1.0.1UbuntuGPU
- ubuntu16.04安裝MATLAB R2017b步驟詳解UbuntuMatlab
- 環境 | ubuntu16.04系統安裝及基本軟體配置Ubuntu
- 在win7系統中用U盤安裝ubuntu16.04Win7Ubuntu
- Ubuntu16.04安裝GTX960閉源驅動(Dell XPS 9550)Ubuntu
- Ubuntu16.04不用管理員許可權安裝caffe依賴(上)Ubuntu
- linux下安裝snap安裝工具Linux
- ubuntu16.04下如何截圖Ubuntu
- Ubuntu16.04下NVIDIA顯示卡驅動安裝(華碩飛行堡壘7代,1660ti)Ubuntu
- typora下載安裝以及notepad++下載安裝
- windows 下安裝Windows
- ubuntu16.04 安裝 npm和node,利用n模組切換node版本UbuntuNPM