I have tried to use boost unit test on Eclipse CDT w/ MinGW and VC++. But I can not link to the static boost library: libboost_unit_test_framework-vc100-mt-1_47.lib.
 
The code I used:
 
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE MasterTestSuite
#include <boost/test/unit_test.hpp>
 
BOOST_AUTO_TEST_SUITE(FooTests)
BOOST_AUTO_TEST_CASE (ctor_test1)
{
	Foo a;
	BOOST_CHECK_EQUAL(a.name(),MY_PROJECT_NAMESPACE::Foo::DEF_NAME);
}
BOOST_AUTO_TEST_CASE (ctor_test2)
{
	const std::string theName("Blah");
	Foo a(theName);
	BOOST_CHECK_EQUAL(a.name(),theName);
}
BOOST_AUTO_TEST_SUITE_END()
 
What is wrong?