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;

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


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