Boost logo

Boost Users :

From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2008-05-16 21:58:33


Noah Roberts wrote:
> Pierre-Jules Tremblay wrote:
>> Noah,
>>
>> Your language and tone are abusive. Gennadiy is not saying that you
>> are not seeing a problem: he is telling you what is the only possible
>> reason why you are seeing this problem (and he is right).
>>
>> There are two things you can try:
>>
>> 1) tell us what platform and compiler you use, print out the linker
>> command issued by your build system and let us see it, and ask nicely
>> for help.
>
> g++ -I../include -g -O2 -lboost_unit_test_framework-s -o commands
> commands.o command.o
> commands.o: In function `test_construct()':
> /home/nroberts/projects/ai/wumpus2/tests/commands.cpp:11: undefined
> reference to
> `boost::test_tools::tt_detail::check_impl(boost::test_tools::predicate_result
> const&, boost::basic_wrap_stringstream<char>&,
> boost::unit_test::basic_cstring<char const>, unsigned long,
> boost::test_tools::tt_detail::tool_level,
> boost::test_tools::tt_detail::check_type, unsigned long, ...)'
>

I've found the error. It has to do with ordering of command line
arguments. Don't know why it only complains about that function and
works otherwise but whatever. Hopefully I can find a different way to
inform automake of my need to link.


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