
J Liu writes:
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".
IIRC there were significant changes to the unit test framework between V1.31 and V1.32, and the document you're looking at almost certainly describes 1.32. Try upgrading Boost and see what happens. (The 1.32 version of the unit test framework was actually a big influence on our decision to officially move our code base from using 1.31 to 1.32.) ---------------------------------------------------------------------- Dave Steffen, Ph.D. "There are two ways to write error-free Software Engineer IV programs; only the third one works." Numerica Corporation ph (970) 419-8343 x27 "Pie are not square. Pie are round. fax (970) 223-6797 Cornbread are square" dgsteffen@numerica.us ... anon (usenet) ___________________ Numerica Disclaimer: This message and any attachments are intended only for the individual or entity to which the message is addressed. It is proprietary and may contain privileged information. If you are neither the intended recipient nor the agent responsible for delivering the message to the intended recipient, you are hereby notified that any review, retransmission, dissemination, or taking of any action in reliance upon, the information in this communication is strictly prohibited, and may be unlawful. If you feel you have received this communication in error, please notify us immediately by returning this Email to the sender and deleting it from your computer.