使用ubuntu 安装boost
sudo apt update
sudo apt install libboost-all-dev
提示
libboost-atomic-dev libboost-chrono-dev libboost-container-dev libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-exception-dev libboost-fiber-dev libboost-filesystem-dev libboost-graph-dev
libboost-graph-parallel-dev libboost-iostreams-dev libboost-locale-dev libboost-log-dev libboost-math-dev libboost-mpi-dev libboost-mpi-python-dev libboost-numpy-dev libboost-program-options-dev libboost-python-dev libboost-random-dev
libboost-regex-dev libboost-serialization-dev libboost-stacktrace-dev libboost-system-dev libboost-test-dev libboost-thread-dev libboost-timer-dev libboost-tools-dev libboost-type-erasure-dev libboost-wave-dev
已经删除了signal库
ubuntu卸载 boost
sudo apt --purge remove libboost-dev
sudo apt --purge remove libboost-all-dev
sudo apt --purge autoremove libboost-all-dev
sudo rm -rf /usr/lib/libboost_*
sudo rm -rf /usr/include/boost
下载
tar -zxvf boost_1_68_0.tar.gz
cd boost_1_68_0/
./bootstrap.sh --prefix=/usr/local/boost
sudo ./b2 install --build-type=complete threading=multi --layout=tagged
阅读(1432) | 评论(0) | 转发(0) |