|
Boost : |
Subject: Re: [boost] Boost build problem
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-09-24 01:36:48
Emil Dotchevski wrote:
> I'm trying to use <link>static and <runtime-link>static with my own
> code, which depends on boost filesystem, and I have the problem that
> the linker is passed libboost_filesystem-vc80-mt-sgd-1_41.lib while
> the debug\link-static\runtime-link-static folder has
> libboost_filesystem-vc80-sgd-1_41.lib.
Emil,
in general, it's best to provide the exact command(s) you are running,
and the exact error output from whatever tool emit error. If you
have Boost.Build project that depends on Boost, I'd recommend setting
<define>BOOST_ALL_NO_LIB in project requirements, as the autolink only
works if all of Boost is built and installed into some directory, and
that directory is added to library search path -- and none of this
should be necessary as Boost.Build can directly link to right library
without any autolink at all.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk