|
Boost-Build : |
From: Petrus B. van Bork (pvanbork_at_[hidden])
Date: 2007-12-09 15:17:45
Dear Colleagues:
I continue to struggle - fruitlessly - to correctly compile the
"simple_ls" program. I would like to remind those reading this post
that this is not my code, it is an example from the getting started with
boost materials. I would also like to note that I have spent many
hours with the documentation so suggestions that I RTFM are not terribly
constructive. If I have mis-read something in the documentation, that
would, of course, be different.
I have spent several more person-days on this without success. I am
running the mingw 3.4.5. over Win XP and my IDE is Eclipse 4.0.2
Here is my console output:
**** Build of configuration Debug for project BoostTest ****
mingw32-make all
'Building target: BoostTest.exe'
'Invoking: MinGW C++ Linker'
g++
-L"e:\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
-l"e:\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
I have tried every imaginable combination of paths to the
libraries, places to put them, etc., etc. I have spent much time on the
'net looking for alternate documentation or answers. I have even
re-installed everything, re bjammed you name it. No matter what I do, I
get the same, error "cannot find etc..."
Just a note when I bjam the directories I get installed do NOT
match the online documentation on the getting started pages on
boost.org. For instance, I have NO "lib" directory, as shows in
documentation both on the boost.org site and elsewhere. The closest I
come is "libs", as you can see in the console output. Am I supposed to
manually create this directory? Do I need other libraries besides the
filesystem library to run this? I need, badly to manipulate a huge
number of directories and I thought that this was the time to adopt
Boost, while getting the functionality I needed. I really do need to
get simple_ls running and get on to learning how to use this
functionality. Any help would be very, very, very much appreciated my
frustration levels are sky-high. I know there has to be a simple
answer, I do not have it and, again, I can't find it on the 'net anywhere.
Any pointers to what is going wrong would be much appreciated.
Best,
Petrus
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk