Boost logo

Boost :

Subject: [boost] Coroutine2 examples - Cannot link properly.
From: Carlos Ferreira (carlosmf.pt_at_[hidden])
Date: 2016-03-31 07:53:57

Hello to all.
I'm having trouble in compiling the coroutine2 examples.

For the fibonacci example, the following linking error occurs:

/usr/include/boost/coroutine2/detail/pull_control_block.ipp:62: undefined
reference to `boost::context::execution_context::current()'

Now, I know that I have to link against boost context, something that I'm
already doing, but for some reason, it is not enough.

Can anyone help me with this?
Thank you.

Carlos Miguel Ferreira
Researcher at Telecommunications Institute
Aveiro - Portugal
Work E-mail - cmf_at_[hidden]
Skype & GTalk -> carlosmf.pt_at_[hidden]
LinkedIn ->

Boost list run by bdawes at, gregod at, cpdaniel at, john at