我正在使用 Windows 7 - 64bit 并正在尝试构建一个项目。当我使用 cmake 时出现错误
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBoos
t.cmake:1191 (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):
src/CMakeLists.txt:310 (find_package)
CMake Error at src/CMakeLists.txt:312 (message):
Boost C++ libraries not found. Please install or try setting BOOST_ROOT
我已将变量 BOOST_ROOT 设置为 D:\MyProject\boost_1_43_0\boost\ 但我仍然得到这个。我该如何解决这个问题。