Boost logo

Boost Users :

Subject: [Boost-users] [context / coroutine] linker errors
From: Szymon Gatner (szymon.gatner_at_[hidden])
Date: 2012-07-30 12:32:46


I grabbed coroutine lib from
http://olk.bplaced.net/boost-coroutine.zip and I am getting linker
errors with VC2008 SP1 when trying to compile simplest example from
coroutine's documentation:

Error 1 error LNK2019: unresolved external symbol _jump_fcontext
referenced in function "public: int __thiscall
boost::coro::detail::context_base<void __cdecl(void),class
boost::ctx::stack_allocator,void,0>::native_start(void)"
(?native_start@?$context_base@$$A6AXXZVstack_allocator_at_ctx@boost@@X$0A@@detail_at_coro@boost@@QAEHXZ) main_2.obj context

Error 2 error LNK2019: unresolved external symbol _make_fcontext
referenced in function "public: __thiscall
boost::coro::detail::context_base<void __cdecl(void),class
boost::ctx::stack_allocator,void,0>::context_base<void
__cdecl(void),class boost::ctx::stack_allocator,void,0>(class
boost::ctx::stack_allocator const &,unsigned int,enum
boost::coro::flag_unwind_t,bool)"
(??0?$context_base@$$A6AXXZVstack_allocator_at_ctx@boost@@X$0A@@detail_at_coro@boost@@QAE_at_ABVstack_allocator_at_ctx@3_at_IW4flag_unwind_t_at_23@_N_at_Z) main_2.obj context

btw, old documentation link
(http://ok73.ok.funpic.de/boost/libs/context/doc/html/) for
boost.context does not work anymore and I remember it had continuation
example which is not included in library examples. Any way to get it
back?

-- 
Szymon Gatner
The Lordz Games Studio
www.thelordzgamesstudio.com

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