|
Boost-Build : |
From: Wieger Wesselink (wieger_at_[hidden])
Date: 2005-03-14 08:42:46
--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
> This is missing symbols from Boost.Thread, your Jamfile should be
modified to
> read:
>
> ------- libs/log/src/Jamfile.v2 --------
> project log
>
> : requirements
>
> <include>../../..
> <include>../../../../boost
> ;
>
> lib log : functions.cpp log.cpp
log_manager.cpp /boost/thread//boost_thread ;
Yes, that works! I see now that I put the thread library declaration
at the wrong place.
> > bjam --v2 msvc link=static
> > LINK : fatal error LNK1104: cannot open file 'libboost_log-vc71-
mt-gd-
> > 1_32.lib'
> >
> > To prevent the last error I have experimented with setting
> > <define>BOOST_ALL_NO_LIB and/or <define>BOOST_LOG_NO_LIB, but this
> > didn't work either.
>
> Could it be that the log libraries does not respect the above
defines and
> attempts to autolink in any case? You can take a look at the source
to
> determine if it's the case, or plain comment out any autolink code.
And this works now too. I first had to remove all existing bin
directories, then the altered BOOST_ALL_NO_LIB/BOOST_LOG_NO_LIB
settings are respected.
Thanks a lot,
Wieger
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