[UTF] Boost.Test compilation error(anonymous namespace)::unit_test_log

I am trying to compile a class which inherit from boost.test test_suite one.
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)
I added both following line in the cpp file but it does not solve the
issue :
#include

Guillaume Theraud
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
participants (2)
-
Gennadiy Rozental
-
Guillaume Theraud