Chamila Adhikarinayake
Chamila Adhikarinayake

Reputation: 3758

How to fix "error: cannot find the flags to link with Boost unit_test_framework"

I'm using Ubuntu 13.04. When i tried to build a project from source and i got following message. I'm new to this and can some one help me.

./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

Upvotes: 2

Views: 6598

Answers (2)

Chong Tang
Chong Tang

Reputation: 2146

Or you can install libboost-all-dev instead.

Upvotes: 3

Flint
Flint

Reputation: 456

Bumped into similar error. Installing package libboost-test-dev fixed the error for me

Upvotes: 3

Related Questions