查看: 5667|回复: 1

新手 不知怎么解决了 cmake出的问题

[复制链接]

该用户从未签到

发表于 2013-8-11 23:11:05 | 显示全部楼层 |阅读模式
64 bit architecture detected
searching TIFF -->tiff.h<-->libtiff<-->D:/OSG/3rdparty<--
searching FREETYPE -->ft2build.h<-->freetype;freetype2311MT;freetype234;freetype234MT;freetype235;freetype237;freetype238;freetype244;<-->D:/OSG/3rdparty<--
searching CURL -->curl/curl.h<-->libcurl;curllib<-->D:/OSG/3rdparty<--
searching JPEG -->jpeglib.h<-->libjpeg;jpeg<-->D:/OSG/3rdparty<--
searching GDAL -->gdal.h<-->gdal;gdal16<-->D:/OSG/3rdparty<--
-- Warning Debug GDAL not found, using: D:/OSG/3rdParty/lib/gdal_i.lib
searching GLUT -->GL/glut.h<-->glut32<-->D:/OSG/3rdparty<--
searching GIFLIB -->gif_lib.h<-->ungif;libungif;giflib<-->D:/OSG/3rdparty<--
searching ZLIB -->zlib.h<-->z;zlib;zlib1<-->D:/OSG/3rdparty<--
searching PNG -->png.h<-->libpng;libpng13;libpng15<-->D:/OSG/3rdparty<--
searching LIBXML2 -->libxml<-->libxml2<-->D:/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 D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindITK.cmake:48 (find_package):
  Could not find a package configuration file named "ITKConfig.cmake"
  provided by package "ITK".

  Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
  to a directory containing one of the above files.  If "ITK" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:465 (FIND_PACKAGE)


Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR)
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
CMake Warning at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:657 (message):
  D:/Qt/Qt5.1.0/5.1.0/msvc2012_64_opengl/bin/qmake.exe reported
  QT_INSTALL_LIBS as "D:/Qt/Qt5.1.0//5.1.0/msvc2012_64_opengl/lib" but QtCore
  could not be found there.  Qt is NOT installed correctly for the target
  build environment.
Call Stack (most recent call first):
  CMakeLists.txt:495 (FIND_PACKAGE)


CMake Error at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1032 (set_property):
  set_property could not find TARGET Qt4:tCore.  Perhaps it has not yet
  been created.
Call Stack (most recent call first):
  CMakeLists.txt:495 (FIND_PACKAGE)


CMake Error at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1037 (set_property):
  set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
  been created.
Call Stack (most recent call first):
  CMakeLists.txt:495 (FIND_PACKAGE)


CMake Error at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1040 (set_property):
  set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
  been created.
Call Stack (most recent call first):
  CMakeLists.txt:495 (FIND_PACKAGE)


CMake Error at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1121 (set_property):
  set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
  been created.
Call Stack (most recent call first):
  CMakeLists.txt:495 (FIND_PACKAGE)


Found unsuitable Qt version "5.1.0" from D:/Qt/Qt5.1.0/5.1.0/msvc2012_64_opengl/bin/qmake.exe
Could NOT find Qt3 (missing:  QT_QT_LIBRARY QT_INCLUDE_DIR)
CMake Warning (dev) at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake:34 (find_package):
  File D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake
  includes D:/OSG/OpenSceneGraph-3.0.0/CMakeModules/FindZLIB.cmake (found via
  CMAKE_MODULE_PATH) which shadows D:/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) (found version "3.9.4")
Configuring incomplete, errors occurred!

该用户从未签到

发表于 2013-8-12 09:18:39 | 显示全部楼层
您所用的OSG以及Cmake的版本不支持Qt5的识别
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表