2014-03-14 2 views
0

최신 안정된 버전 3.0.0 및 Cmake 2.8.12.2를 다운로드하여 최신 열린 장면 그래프를 설치하고 싶습니다. 나는 Cmake로 소스를 설정하려고 시도했다. 생성기는 CodeBlocks MingGW이고 Cmake에서 configure 버튼을 누르면 다음과 같은 에러가 발생한다.MinGW로 열린 장면 그래프를 작성하는 방법

Cmake의 구성 패널에는 Collada, DCMTK, Jasper Lİbrary, QT 외에도 많은 변수가 있습니다. OSG는 이러한 모든 변수와 라이브러리에 대한 의존성을 가지고 있습니까? 만약 그렇다면 변수의 의미를 어떻게 알았습니까? OSG의 핵심 부분 만 설치하고 싶습니다. 그리고 vaiables는 다소 모호합니다. 그 중 일부는 의미가 있지만 일부는 의미가 없습니다. 내가 미리 빌드는 MinGW에 대한 링크가 표시되지 않습니다,하지만

http://www.openscenegraph.org/index.php/download-section/dependencies

:

32 bit architecture detected 
searching TIFF -->tiff.h<-->libtiff<-->C:/MinGW<-- 
searching FREETYPE -->ft2build.h<--<freetype;freetype2311MT;freetype234;freetype234MT;freetype235;freetype237;freetype238;freetype244;<-->C:/MinGW<-- 
searching CURL -->curl/curl.h<-->libcurl;curllib<-->C:/MinGW<-- 
searching JPEG -->jpeglib.h<-->libjpeg;jpeg<-->C:/MinGW<-- 
searching GDAL -->gdal.h<-->gdal;gdal16<-->C:/MinGW<-- 
searching GLUT -->GL/glut.h<-->glut32<-->C:/MinGW<-- 
searching GIFLIB -->gif_lib.h<-->ungif;libungif;giflib<-->C:/MinGW<-- 
searching ZLIB -->zlib.h<-->z;zlib;zlib1<-->C:/MinGW<-- 
searching LIBXML2 -->libxml<-->libxml2<-->C:/MinGW<-- 
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 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) 
checking for module 'poppler-glib' 
    package 'poppler-glib' not found 
checking for module 'librsvg-2.0' 
    package 'librsvg-2.0' not found 
checking for module 'gtkglext-win32-1.0' 
    package 'gtkglext-win32-1.0' not found 
Found unsuitable Qt version "" from NOTFOUND 
Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) 
Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) 
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:34 (find_package): 

    File C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake 
    includes 
    D:/TEST_FOLDER_asus/ENGINES/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) 

답변

0

종속성은 제 3 자 의존성 패키지에 모든 웹 사이트의 다운로드 섹션에서 사용할 수 있습니다 버전 - 아마도 VS 버전이 호환 가능합니까? 만약 그렇지 않다면, 당신은 그것들을 모두 독립적으로 가져올 수 있습니다. 또는 Visual Studio의 익스프레스 (무료) 버전으로 구축하거나 리눅스로 전환하는 것을 고려해야 할 것입니다.

관련 문제