1

我正在使用 Ubuntu 13.04。当我尝试从源代码构建项目时,我收到以下消息。我是新手,有人可以帮助我。

./configure
:
:
checking boost/format.hpp presence... yes
checking for boost/format.hpp... yes
checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++

checking boost/test/unit_test.hpp usability... yes
checking boost/test/unit_test.hpp presence... yes
checking for boost/test/unit_test.hpp... yes
checking for the Boost unit_test_framework library... no
configure: error: cannot find the flags to link with Boost unit_test_framework
4

2 回答 2

3

碰到类似的错误。安装包libboost-test-dev为我修复了错误

于 2013-07-03T17:07:56.043 回答
2

或者您可以安装libboost-all-dev

于 2016-11-01T15:08:04.260 回答