cmake之前需要首先设置环境变量:

export BOOST_LIBRARYDIR=$BOOST_ROOT/lib64
export BOOST_ROOT=/home/noah/boost_1_57_0

然后

cmake .

make

make install

应该能用

05-11 18:31