
19 Jul
2005
19 Jul
'05
9:12 p.m.
I am using Boost 1.31 with VC 6.0. I am testing the simplest example provided in the boost document. It seems "boost::unit_test" is not a valid namespace. After I change it to "boost::unit_test_framwork", it can compile but can not link, the error I got is "LINK : fatal error LNK1561: entry point must be defined". The exmaple I used: #include <boost/test/unit_test.hpp> using namespace boost::unit_test; test_suite* init_unit_test_suite( int argc, char* argv[] ) { test_suite* test= BOOST_TEST_SUITE( "const_string test" ); return test; } Thanks for any help