cmake之前需要首先设置环境变量:
export BOOST_LIBRARYDIR=$BOOST_ROOT/lib64
export BOOST_ROOT=/home/noah/boost_1_57_0
然后
cmake .
make
make install
应该能用
时间: 2024-10-02 03:19:46
cmake之前需要首先设置环境变量:
export BOOST_LIBRARYDIR=$BOOST_ROOT/lib64
export BOOST_ROOT=/home/noah/boost_1_57_0
然后
cmake .
make
make install
应该能用