我在Ubuntu x64 13.10上安装了libboost-all-dev,但在构建过程中遇到了错误。
$ cmake . -DCMAKE_BUILD_TYPE=Release
statusCompiling on UNIX
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1126 (message):
Unable to find the requested Boost libraries.
Boost version: 1.53.0
Boost include path: /usr/include
The following Boost libraries could not be found:
boost_coroutine
我检查了boost_coroutine包是否已安装,但是没有1.53版本。
$ apt-cache search libboost-coroutine
libboost-coroutine1.54-dev - provides a sort of cooperative multitasking on a single thread