Boost logo

Boost Users :

From: Pascal Patry (iscy_at_[hidden])
Date: 2007-05-15 12:03:44


Hi, I'm currently experiencing an issue with Boost 1.34.0 and gcc 4.1.1.

I'm depending on boost_filesystem from my program for some operations. When
using boost 1.33.1, I was able to link against libboost_filesystem-[...].a
only by doing -lboost_filesystem and by including the stage/libs directory of
boost.

Now, if I don't modify anything, I'm getting linker errors. The current
workaround is to put '-lboost_filesystem-gcc41' or to rename
libboost_filesystem-gcc41.a to libboost_filesystem.a

The thing is, everytime I'm using other stuff from boost requiring linking
against a library, I'll have to rename the library on my workstation or
modify the Makefile... So, I'd like to know if there is anything else I can
do to fix this automatic linker problem.

Thank you,
Pascal


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