Boost logo

Boost Users :

From: Christian Henning (chhenning_at_[hidden])
Date: 2007-07-09 18:19:11


Hi there, I'm using boost 1.34 on MSVC 7.1. For whatever reason I
cannot eliminate various linker errors. I have defined my
BOOST_AUTO_TEST_CASEs in several .cpp files and this seems to create
multiple definition of various symbols. The errors look as the
following:

string_table_test.obj : error LNK2005: "bool
boost::test_tools::`anonymous namespace'::dummy_cond"
(?dummy_cond@?A0x7aa5c0d5_at_test_tools_at_boost@@3_NA) already defined in
ORM_test.obj
string_table_test.obj : error LNK2005: "class
unit_test_log_t::boost::unit_test_log_t & boost::unit_test::`anonymous
namespace'::unit_test_log"
(?unit_test_log@?A0x7aa5c0d5_at_unit_test_at_boost@@3AAVunit_test_log_t_at_23@A)
already defined in ORM_test.obj

Did anyone had to deal which such messages before?

Thanks ahead,
Christian


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