当前位置: 代码迷 >> 综合 >> ubuntu 编译boost时Failed to build Boost.Build build engine问题的解决
  详细解决方案

ubuntu 编译boost时Failed to build Boost.Build build engine问题的解决

热度:71   发布时间:2024-01-25 02:17:22.0

编译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再次编译问题解决。

  相关解决方案