
7 Nov
2002
7 Nov
'02
11:40 a.m.
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