本帖最后由 bitok 于 2011-7-17 09:12 编辑
Win7 + VS2010,CMake configure 后显示如下: 这些错误该如何修正呢? 3rdParty用的是3rdParty_VC9sp1_x86_x64-src_V7.7z,LibXml2、CURL等都没有,在哪儿能找到呢?(CMake是在官网下的2.8.5)
32 bit architecture detected searching TIFF -->tiff.h<-->libtiff<-->C:/OSG/3rdparty<-- searching FREETYPE -->ft2build.h<-->freetype;freetype2311MT;freetype234;freetype234MT;freetype235;freetype237;freetype238;freetype244;<-->C:/OSG/3rdparty<-- searching CURL -->curl/curl.h<-->libcurl;curllib<-->C:/OSG/3rdparty<-- searching JPEG -->jpeglib.h<-->libjpeg;jpeg<-->C:/OSG/3rdparty<-- searching GDAL -->gdal.h<-->gdal;gdal16<-->C:/OSG/3rdparty<-- searching GLUT -->GL/glut.h<-->glut32<-->C:/OSG/3rdparty<-- searching GIFLIB -->gif_lib.h<-->ungif;libungif;giflib<-->C:/OSG/3rdparty<-- searching ZLIB -->zlib.h<-->z;zlib;zlib1<-->C:/OSG/3rdparty<-- searching LIBXML2 -->libxml<-->libxml2<-->C:/OSG/3rdparty<-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) CMake Warning at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindITK.cmake:48 (FIND_PACKAGE): Could not find a configuration file for package ITK.
Set ITK_DIR to the directory containing a CMake configuration file for ITK. The file will be called ITKConfig.cmake Call Stack (most recent call first): CMakeLists.txt:465 (FIND_PACKAGE)
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) Could NOT find wxWidgets (missing: wxWidgets_FOUND) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) CMake Warning (dev) at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake:29 (find_package): File C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake includes C:/OSG/OpenSceneGraph-3.0.0/CMakeModules/FindZLIB.cmake (found via CMAKE_MODULE_PATH) which shadows C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindZLIB.cmake. This may cause errors later on .
Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:535 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it.
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) Configuring done |