Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-11-27 06:46:07


>I copied libboost_regex.a to the /lib directory of my Cygwin
installation. I suspect there's a problem finding the libraries when
I compile, but being a bit of a newbie at this, I don't know where to
start.
<

gcc doesn't support "automatic linking" in the way that VC6 does, you need
to add any needed libraries to the command line - in this case "g++ -o
myfile myfile.cpp -lboost_regex" should do the job.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk