我无法弄清楚为什么会出现此错误。
CMake Error at C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1753 (message):
Unable to find the requested Boost libraries.
Boost version: 1.48.0
Boost include path: D:/Shark/boost_1_48_0
Could not find the following Boost libraries:
boost_system
boost_date_time
boost_filesystem
boost_program_options
boost_serialization
boost_thread
boost_unit_test_framework
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:146 (find_package)
CMake Error at CMakeLists.txt:154 (message):
Please make sure Boost 1.48.0 is installed on your system
它说,无法找到请求的提升库。但我已经安装了 boost 1.48.0 并使用 Visual Studio 控制台构建它,并且已经通过BOOST_LIBRARYDIR=D:/Shark/boost_1_48_0/stage/lib
了BOOST_ROOT=D:/Shark/boost_1_48_0
.