最近编译evpp过程中cmake失败,报错如下:
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1138 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost’s headers.
Call Stack (most recent call first):
benchmark/throughput/asio_from_chenshuo/CMakeLists.txt:1 (find_package)
sudo cmake -DBOOST_ROOT=/usr/local/boost -DCMAKE_BUILD_TYPE=Debug ..
本文记录了在编译evpp过程中遇到的CMake失败问题及解决方案。主要错误为未能找到请求的Boost库和头文件,通过设置BOOST_ROOT和BOOST_INCLUDEDIR变量成功解决了这一问题。
977

被折叠的 条评论
为什么被折叠?



