Boost logo

Boost Users :

From: J Liu (johnny_spring_at_[hidden])
Date: 2005-07-19 16:12:00

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;

init_unit_test_suite( int argc, char* argv[] )
    test_suite* test= BOOST_TEST_SUITE( "const_string test" );
    return test;

Thanks for any help

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at