Boost logo

Boost Users :

Subject: Re: [Boost-users] [UTF] Boost.Test compilation error(anonymous namespace)::unit_test_log
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-06-15 16:58:15


Guillaume Theraud <gui <at> futarque.com> writes:

>
>
> I am trying to compile a class which inherit from boost.test
> test_suite

Usually there aren't many reasons to do this.

> However, I get the following message while linking :undefined
> reference to `global constructors keyed to
> _ZN5boost9unit_test119_GLOBAL__N__[...]_
> WizardTestSuite.cpp_C629D373_A17403F013unit_test_logE'
> (boost::unit_test::(anonymous namespace)::unit_test_log)

You sure you link with UTF library?

Gennadiy


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