|
Boost Users : |
Subject: Re: [Boost-users] [boost-users][unit-test-framework] Problem linking tests.
From: Germán Diago (germandiago_at_[hidden])
Date: 2010-07-01 03:55:39
thanks. I didn't know of the only-header version.
2010/7/1 Gennadiy Rozental <rogeeff_at_[hidden]>:
> Germán Diago <germandiago <at> gmail.com> writes:
>
>>
>> Hello all. I'm having a hard time trying to link a binary against
>> libbost_unit_test_framework.
>>
>> I was developing some software in my laptop. This laptop has installed
>> boost libraries from the repositories (it's boost-1.40 ubuntu 10.04).
>>
>> I had to pass this code to another computer, which hadn't boost
>> installed, so I copied what I had in ubuntu from the repositories into
>> my project, headers
>> included. My project uses boost_system and boost_thread as well. Both
>> machines are 64 bit machines with intel. But when compiling, I get
>> this:
>>
>> td::char_traits<char> >::_M_extract<unsigned long>(unsigned
>> long&)@GLIBCXX_3.4.9'
>
> Looks like you've got different glibc versions. I suggect you try single header
> version of boost test and avoid linking altogether.
>
> Gennadiy
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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