|
Boost : |
Subject: Re: [boost] [context] Providing template class enumerate in context.hpp
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-02-28 13:49:07
Am 28.02.2012 14:37, schrieb Julien Nitard:
> Not related, I have problems linking with boost.context on MSVC 10, 32
> bits when trying to compile the example folder using bjam :
>> test_context.obj : error LNK2019: unresolved external symbol
>> _boost_fcontext_jum
>> p referenced in function "public: int __thiscall
>> boost::contexts::detail::contex
>> t_base::suspend(int)" (
>> ?suspend_at_context_base_at_detail@contexts_at_boost@@QAEHH_at_Z)
>> libboost_context-vc100-mt-gd-1_49.lib(fcontext.obj) : error LNK2001:
>> unresolved
>> external symbol _boost_fcontext_jump
because examples link dynamically libboost_context - you can add the
directory containing the libs to your search path or you update to
boost-trunk (changed to link statically)
>
> Finally, have you considered adding auto linking ? I guess that can be done
> easily using the following code in context.hpp:
>
> #define BOOST_LIB_NAME "context"
> #include<boost/config/auto_link.hpp>
>
yes - already used
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk