Boost logo

Boost Users :

Subject: Re: [Boost-users] can't build an official example on eclipse
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-12-11 19:47:12


loveley wrote:
> I have an issue while trying to run boost for the first time.
> I downloaded boost on my mac snow leopard, with eclipse.
> I compiled the sources(with bjam, without options), and I added the
> "include" directory (ie boost_1_41_0/boost)and the "libs" one (ie
> boost_1_41_0/libs) in eclipse.
> the example I used is the one provided by the official tutorial :
> <snip>
> and the error is:
> .
> 1.
> g++ -L/Applications/boost_1_41_0/libs -o "test_boost_1"
> ./principal/principal.o
> 2.
> Undefined symbols:
> 3.
> "boost::unit_test::unit_test_log_t::set_checkpoint(boost::unit_test::basic_cstring<char
> const>, unsigned long, boost::unit_test::basic_cstring<char
> const>)", referenced from:

You need to link to the test library (-lboost_unit_test_framework)

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at