cmake找不到boost 1.59的版本

时间:2015-12-18 12:29:57

标签: boost cmake

我想设置CGAL-4.7,为了做到这一点,我需要安装boost。具体来说,我使用boost-1.59。 Cmake版本是3.4.0。我收到以下消息:

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindBoost.cmake:1247 (message):
  Unable to find the requested Boost libraries.

  Boost version: 0.0.0

  Boost include path: C:/local/boost_1_59_0/boost

  Detected version of Boost is too old.  Requested version was 1.39 (or
  newer).
Call Stack (most recent call first):
  cmake/modules/CGAL_SetupBoost.cmake:6 (find_package)
  cmake/modules/CGAL_SetupDependencies.cmake:85 (include)
  CMakeLists.txt:649 (include)

修改

主要错误是:

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindBoost.cmake:721
(file): file STRINGS file "C:/local/boost_1_59_0/boost/boost/version.hpp" cannot be read. Call Stack (most recent call first): cmake/modules/CGAL_SetupBoost.cmake:6
(find_package) cmake/modules/CGAL_SetupDependencies.cmake:85(include)
CMakeLists.txt:649 (include)

可能是什么问题?

0 个答案:

没有答案