首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

CGAL库安装有关问题

2012-12-16 
CGAL库安装问题在DOS执行Cmake-gui的时候configure有如下错误CMake Error: The following variables are u

CGAL库安装问题
在DOS执行Cmake-gui的时候
configure有如下错误
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
   used as include directory in directory D:/Program Files/CGAL-3.6.1/src/CGAL
   used as include directory in directory D:/Program Files/CGAL-3.6.1/src/CGALCore
   used as include directory in directory D:/Program Files/CGAL-3.6.1/src/CGALimageIO
   used as include directory in directory D:/Program Files/CGAL-3.6.1/src/CGALPDB
   used as include directory in directory D:/Program Files/CGAL-3.6.1/src/CGALQt
   used as include directory in directory D:/Program Files/CGAL-3.6.1/src/CGALQt4
CMake Error at cmake/modules/FindBoost.cmake:917 (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):
  cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
  cmake/modules/CGAL_SetupDependencies.cmake:18 (include)
  CMakeLists.txt:220 (include)
请问原因是什么?是因为环境变量的原因还是什么呢?

[最优解释]
设置BOOST_ROOT环境变量
[其他解释]
你装的到底是boost还是boostpro 如果是boost库是需要自己编译生成lib文件的吧 只有boostpro才附带编译后的库文件 图省事就直接用boostpro 另外如果1.45不行可以试试1.44的 反正我用1.44是编译通过了 我用的是cgal 3.7 boostpro 1.44
[其他解释]
按照步骤说明再重新配置一下吧,说不准你哪里不注意写错一个字母什么都的才导致这样的错误
[其他解释]
自己回个,希望别被雪藏。这个CGAL库已经装了3-4天了,这是几乎是最后的问题了,希望有人帮忙
[其他解释]
解决一部分问题了  可还是没法通过编译。 老说找不到 boost_thread。已经设置过了Boost_THREAD_LIBRARY_DEBUG (=C:/boost/boost_1_38_0/lib/libboost_thread-vc90-mt-gd-1_38.lib) 以及变量Boost_THREAD_LIBRARY_RELEASE (= C:/boost/boost_1_38_0/lib/libboost_thread-vc90-mt-1_38.lib)当然库不一样,文件名字也不一眼。 

[其他解释]

引用:
设置BOOST_ROOT环境变量

BOOST_ROOT已经设定
还是有问题啊!!
CMake Error at cmake/modules/FindBoost.cmake:917 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.45.0

  Boost include path: D:/Program Files/boost_1_45_0/boost_1_45_0

  The following Boost libraries could not be found:

          boost_thread

  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):
  cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
  cmake/modules/CGAL_SetupDependencies.cmake:18 (include)
  CMakeLists.txt:237 (include)
求解决方案!!Boost_THREAD_LIBRARY_DEBUG 和Boost_THREAD_LIBRARY_RELEASE都已经设置过 
[其他解释]
Boost是重新装的。怎么还有错误啊!崩溃了。。。。
[其他解释]
解决了吗? 我遇到了相同的问题!!!!!!求解!!!!
[其他解释]
我也遇到了一样的问题~~求解决~!

热点排行