
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Scott Meyers Sent: 30 May 2007 18:42 To: boost-users@lists.boost.org 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@lists.boost.org 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