Boost Users :
Subject: Re: [Boost-users] can't build an official example on eclipse
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-12-11 20:48:32
> Steven Watanabe a écrit :
>> loveley wrote:
>>> and the error is:
>>> http://pastebin.com/m4c85af13 .
>>> g++ -L/Applications/boost_1_41_0/libs -o "test_boost_1"
>>> ./principal/principal.o 2.
>>> Undefined symbols:
>>> const>, unsigned long, boost::unit_test::basic_cstring<char
>>> const>)", referenced from:
>> You need to link to the test library (-lboost_unit_test_framework)
> I wonder how I can link this test library; can you tell me how?
> This appears to be an option, but for what program?
-l is for g++. I don't know where to specify this for eclipse.
Check its documentation.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net