|
Boost Users : |
From: Richard (richard_at_[hidden])
Date: 2007-05-30 14:17:02
I know nothing about unix so this could be a useless suggestion. I think in
the unix world they use '/' to separate directories (rather than '\'). Is
that relevant?
- Richard
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Scott Meyers
Sent: 30 May 2007 18:42
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Specifying library locations for g++
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 mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.3/824 - Release Date: 29/05/2007
13:01
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.3/824 - Release Date: 29/05/2007
13:01
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