Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2002-11-07 06:40:21


> I'm using the libboost-regex Debian package and I'm trying to compile
> one of the example programs, regex_match_example.cpp.
>
> I am compiling with the command
>
> g++ -g -Wall -lboost_regex regex_match_example.cpp \
> -o regex_match_example

gcc is sensitive to library ordering, put the -lboost_regex after the file
that needs it.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


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