Boost logo

Boost Users :

From: Dave Steffen (dgsteffen_at_[hidden])
Date: 2005-07-19 16:34:43

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_at_[hidden] ... 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.

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