Boost logo

Boost Users :

From: Rush Manbert (rush_at_[hidden])
Date: 2006-11-07 14:40:11


Johan.GUIHENEUF_at_[hidden] wrote:
> Hello,
>
> I try to build an console executable that uses boost_fileystem library.
> I have got the file boost_filesystem-vc71-mt-1_33.lib. My IDE is Visual C++ 7.1.
> I set the preprocessor definition _MT.
> At build step, I have this error: "could not find boost_filesystem-vc71-mt-s-1_33.lib".
> I had a look to boost/config/auto_link.hpp to see what "#define" I forgot but I do not understand why it chooses "#define BOOST_LIB_RT_OPT -s".
>
> hat preprocessor macro should I define to make it choose "#define BOOST_LIB_RT_OPT" (i.e. empty) ? Is there a blocking problem with Visual C++ 7.1 on Windows XP ?
>

Hi Johan,

If you have verified that the library name generated by the auto link
(boost_filesystem-vc71-mt-s-1_33.lib) matches what was installed by the
boost build, then it looks like you didn't define the path to the
library for the linker. This should be settable via the linker
preferences, but I use VS 2005, so don't know how you would do it.

- Rush


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