編譯boost時輸入
./bootstrap.sh 出現
Building Boost.Build engine with toolset gcc...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
輸入gcc -v是5.5版本,
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 40
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 40
切換爲gcc-7再次編譯問題解決。