Boost Users :
From: J Liu (johnny_spring_at_[hidden])
Date: 2005-07-19 16:52:20
I am using VC6.0 so I can not use boost1.32.
I tried the boost1.31 example, I got the same link error.
Below is the command I used for linking...
cl /nologo /EHsc- /Zi /Yd /Od /MDd /Zm200
/FD -D_DEBUG_MEMORY -I. -I.\include -IC:\dev\head\server\boost_
1_31_0 /Fe..\bin\test_cmdparse.exe test_cmdparse.obj -link
From: "Dave Steffen" <dgsteffen_at_[hidden]>
>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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net