Subject: [Boost-bugs] [Boost C++ Libraries] #12492: No libbost_fiber files after building boost 1_62
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-29 11:21:53
#12492: No libbost_fiber files after building boost 1_62
-------------------------+-------------------------------------------------
Reporter: filwoz@⦠| Type: Support Requests
Status: new | Milestone: To Be Determined
Component: Building | Version: Boost 1.62.0
Boost | Keywords: fiber, library, boost_fiber,
Severity: Problem | libbost_fiber
-------------------------+-------------------------------------------------
Hi,
I've been trying to get boost:fiber library file. I've downloaded newest
version of boost from sourceforge and installed boost with those commends:
{{{
./bootstrap.sh --prefix=PREFIX
./b2
./b2 install --prefix=PREFIX
}}}
(With PREFIX being some directory of course)
Next I've tried to compile this code:
{{{
#include <boost/fiber/all.hpp>
int main()
{
boost::fibers::promise<int> promise;
boost::fibers::future<int> future(promise.get_future());
return 0;
}
}}}
With:
{{{
g++ -I PREFIX/include/ -std=c++11 -L PREFIX/lib/ -lboost_fiber test.cpp
}}}
Unfortunately I've got:
{{{
/usr/bin/ld: cannot find -lboost_fiber
}}}
I've checked in PREFIX/lib, and there is no libbost_fiber.*. There are
others though, like, system, or filesystem etc.
Hope you can help.
Best regards
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12492> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC