Boost logo

Boost Users :

From: Scott Meyers (usenet_at_[hidden])
Date: 2007-05-30 13:42:23


David Daeschler wrote:
> After following this thread lower down, I think that you're confusing -l
> (lower case l) and -L (capital L). Lower case -l specifies the
> individual library you are linking to (ex boost_filesystem). Capital -L
> specifies a directory or directories (you can use -L and -l as many
> times as you have to) where the linker should look for the libraries
> specified by the lower case -l's

No, this fails, too:

D:\Temp>g++ -Wall -O3 -ID:\C++\Boost\Current -o boostbuildtest.exe
boostbuildtest.cpp -Lc:\boost_current\lib -lboost_regex -lboost_f
ilesystem
d:\apps\msys\1.0\mingw\bin\..\lib\gcc\mingw32\4.1.1\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lboost_regex
collect2: ld returned 1 exit status

I've also tried variations making sure that the case of the paths in the command
line matches what Windows shows (because, in the past, I've had trouble with Gnu
tools treating paths case-sensitively on Windows). Still no luck.

Other suggestions?

Scott


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