Utility/swap test error: LNK1561: entry point must be defined

Hi there, I got linking failures (fatal error LNK1561: entry point must be defined) with some of the Utility/swap tests. There is a test_main function in the source file, and the test application statically links to the Boost library. It seems that the Utility/swap tests try to link to boost_test_exec_monitor library. I have the library "libboost_test_exec_monitor-vc90-mt-1_41.lib" ready. I have no idea why the linking does not work. Is the problem with this library? I would appreciate any helps with this. The Ja Thanks in advance, Kevin _________________________________________________________________

Both the release and trunk tests (http://www.boost.org/development/tests/release/developer/utility-swap.html & http://www.boost.org/development/tests/trunk/developer/utility-swap.html) are passing as expected. Which compiler are you using and how are you running the tests? Joe.

Hi Joe, Thanks for the response. I am not using the Boost framework to run these test cases. Instead, I use my own framework to run the test one by one: compiling with MSVC9; then statically linking to the Boost library that I built using Bjam. I have run many boost tests using this way, most passed; but I have no clue why this one does not work. --Kevin
Date: Fri, 5 Feb 2010 14:11:00 +0000 From: joseph.gauterin@googlemail.com To: boost@lists.boost.org Subject: Re: [boost] Utility/swap test error: LNK1561: entry point must be defined
Both the release and trunk tests (http://www.boost.org/development/tests/release/developer/utility-swap.html & http://www.boost.org/development/tests/trunk/developer/utility-swap.html) are passing as expected.
Which compiler are you using and how are you running the tests?
Joe. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_________________________________________________________________
participants (2)
-
Joseph Gauterin
-
Kevin Li