
I think my problem is how to use the boost test .lib to link the test
program.
I tried to put
#include
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
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