
4 Jun
2009
4 Jun
'09
3:57 p.m.
Hicham Mouline
As I said in my email that crossed yours, I did but init_unit_test_suite(...) was still multiply defined,
Rebuild. It should only be defined in the translation unit defining BOOST_TEST_MAIN
g++ <otherflags> -DBOOST_TEST_MAIN= -o
-c g++ <otherflags> -o -c ... g++ <otherflags> -lboost_unit_test_framework-gcc34-mt-d-1_37 -o test *.o also, the main function is not found.
Make sure you link with static library. Or add define BOOST_TEST_DYN_LINK in your compilation line and link with shared library. Gennadiy.