Opened 6 years ago
Last modified 6 years ago
#12492 new Support Requests
No libbost_fiber files after building boost 1_62
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | fiber, library, boost_fiber, libbost_fiber | Cc: | filwoz@… |
Description
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
Note:
See TracTickets
for help on using tickets.
I've forgot to mention, the OS is ubuntu 16