标签:安装 nload target nbsp oca centos .so with err
报错代码:
CMake Error at cmake/boost.cmake:81 (MESSAGE):
You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=
解决办法:
1.在/usr/local下创建一个名为boost的文件夹
mkdir -p /usr/local/boost
2.进入这个新创建的文件夹然后下载boost
wget http://www.sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
3.解压
tar -xvzf boost_1_59_0.tar.gz
4.继续cmake,后面添加以下参数
-DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost/
标签:安装 nload target nbsp oca centos .so with err
原文地址:https://www.cnblogs.com/bluesky2018/p/9591354.html