4

Windows 7 - 64 ビットを使用しており、プロジェクトをビルドしようとしています。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\ に設定しましたが、それでもこれを取得します。この問題を解決するにはどうすればよいですか。

4

1 に答える 1