Boost logo

Boost Users :

From: Kenneth Laskoski (kennethlaskoski_at_[hidden])
Date: 2007-05-30 13:53:40


On 5/30/07, Bobby Ward <bobbyrward_at_[hidden]> wrote:
>
> Fortunately/Unfortunately you have to specify the library as
>
> -lboost_regex-mgw41-1_34
>
> or whatever variation due to boost's ABI compatibility requirements.

Right, but the direction to use -L is still valid. You have to do both
things:

D:\Temp>g++ -Wall -O3 -ID:\C++\Boost\Current -o boostbuildtest.exe
boostbuildtest.cpp -Lc:\boost_current\lib -lboost_regex-mgw41-1_34 -lboost_f
ilesystem-mgw41-1_34

Kenneth



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