$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] regex linker issue/
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-01-06 12:48:27
> To compile and link:
> g++ -o regex-test -I../../boost/boost_1_45_0/
> -L../../boost/boost_1_45_0/stage/lib/ -lboost_regex regex-test.cpp
GCC requires that libraries appear *after* the source files that use them,
fix that and it should work,
HTH, John.