"Cannot find" error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dear gcc-help:

I humbly admit that I have not used gcc since 1993 and that I am very rusty. To add to my misery I am using all new tools - Eclipse with CDT 4.0.2 mingw gcc 3.4.5 etc.

All was going well until I tried to install the Boost libraries and since I have been through, literally, two weeks of Hell. I am now at the point that I get the below console output. The Boost list says that it is a gcc issue and that my syntax for '-l' is incorrect. These are bright guys if not very newby friendly and I am sure that they are right but when I look at gcc documentation, I do not see what I am doing wrong! I feel incredibly stupid and it may be a 'flat forehead' error but I really, truly don't know what I am doing wrong. The boost guys also say it would be better if I had their directory in the "install tree" - if I understand them correctly, this is what caused a major previous problem with their demo program running all their regression tests while trying to compile, however. I don't mind reading manuals and docs but maybe there is something for beginners on getting the linker options right? Everything is very cryptic and there don't seem to be any examples at:

http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Overall-Options.html#Overall-Options
http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Directory-Options.html#Directory-Options
http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Link-Options.html#Link-Options

Please help me, I am very, very desperate. Why is the syntax wrong? Why do I get this error?

Best,

Petrus


**** Build of configuration Debug for project BoostTest ****

mingw32-make all
'Building target: BoostTest.exe'
'Invoking: MinGW C++ Linker'
g++ -Le:\BoostCPlusLibraries\bin\boost_1_34_1\bin.v2\libs\filesystem\build\gcc-mingw-3.4.5\debug\-lboost_filesystem-mgw34-d-1_34_1 -Wl,--out-implib=boost -o"BoostTest.exe" ./main.o -le:\BoostCPlusLibraries\boost_1_34_1\bin.v2\libs\filesystem\build\gcc-mingw-3.4.5\debug\boost_filesystem-mgw34-d-1_34_1.a e:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -le:\BoostCPlusLibraries\boost_1_34_1\bin.v2\libs\filesystem\build\gcc-mingw-3.4.5\debug\boost_filesystem-mgw34-d-1_34_1.a
collect2: ld returned 1 exit status
mingw32-make: *** [BoostTest.exe] Error 1


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux