|
Boost Users : |
Subject: Re: [Boost-users] [context / coroutine] linker errors
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-07-31 06:49:40
> 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)"
on which platform (XP,VIsta Windows7; 32/64bit)?
I'll check it if I'm back from vacation.
> 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?
boost.context is contained in boost-trunk and 1.51.0 release
Oliver
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