MyGUI without build OGRE Engine. ERROR compiled OGRE DLL's wasn't found
MyGUI를 CMake로 열심히 빌드중에 있습니다. 여러가지 이슈들이 있네요. 일단 오우거3D 엔진은 불필요하고 DX 기반으로 빌드하면 되는데 디폴트로 오우거를 필요로하네요.
c:\Users\wwforever.NOWCOM\Downloads\MyGUI_3.2.0>cmake -G "Visual Studio 7 .NET 2003"
-- The C compiler identification is MSVC 13.10.3077
-- The CXX compiler identification is MSVC 13.10.3077
-- Check for working C compiler using: Visual Studio 7 .NET 2003
-- Check for working C compiler using: Visual Studio 7 .NET 2003 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 7 .NET 2003
-- Check for working CXX compiler using: Visual Studio 7 .NET 2003 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring MYGUI 3.2.0
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
ERROR compiled OGRE DLL's wasn't found
-- Looking for FREETYPE...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- CMAKE_PREFIX_PATH: Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2
.0/Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2.0/Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2.0/../Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2.0/../Dependencies
-- Could not locate FREETYPE
-- Looking for OGRE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at CMake/Utils/MacroLogFeature.cmake:91 (MESSAGE):
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-- If you are in Windows, try passing -DMYGUI_DEPENDENCIES_DIR=<path to
dependencies>
-- Also check that you buildind with RenderSystem that you need or set
another with -DMYGUI_RENDERSYSTEM=<1 2 or 3 for Direct3D_9 OGRE or OpenGL>
-----------------------------------------------------------------------------
+ freetype: Portable font engine <http://www.freetype.org>
+ ogre: Support for the Ogre render system <>
-----------------------------------------------------------------------------
Call Stack (most recent call first):
CMake/Dependencies.cmake:108 (MACRO_DISPLAY_FEATURE_LOG)
CMakeLists.txt:232 (include)
-- Configuring incomplete, errors occurred!
위와 같이 붉은색으로 오우거3D엔진 dll이 없다는 에러가 나옵니다. 해결책은 로그 밑에도 있듯 렌더시스템에 대해 -D 옵션을 정의해주면 됩니다.
여러가지 옵션이 있는데요 그중에서 -D 옵션은 CMake에 의해 생성되는 CMakeCache.txt에 설정 정보를 넣어주기 위한 옵션인데요, 여기에 들어가면 다른 설정보다 우선순위가 높다고 합니다.
각 렌더 시스템별 옵션은 위와 같습니다. cmake -DMYGUI_RENDERSYSTEM=1 -G
"Visual Studio 7 .NET 2003" 이런식으로 실행하면 일단 해결은 됩니다. 하지만 다른 에러가 기다리고 있네요. 다른 포스팅에서 정리해봅니다.
c:\Users\wwforever.NOWCOM\Downloads\MyGUI_3.2.0>cmake -G "Visual Studio 7 .NET 2003"
-- The C compiler identification is MSVC 13.10.3077
-- The CXX compiler identification is MSVC 13.10.3077
-- Check for working C compiler using: Visual Studio 7 .NET 2003
-- Check for working C compiler using: Visual Studio 7 .NET 2003 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 7 .NET 2003
-- Check for working CXX compiler using: Visual Studio 7 .NET 2003 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring MYGUI 3.2.0
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
ERROR compiled OGRE DLL's wasn't found
-- Looking for FREETYPE...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- CMAKE_PREFIX_PATH: Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2
.0/Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2.0/Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2.0/../Dependencies;C:/Users/wwforever.NOWCOM/Downloads/MyGUI_3.2.0/../Dependencies
-- Could not locate FREETYPE
-- Looking for OGRE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at CMake/Utils/MacroLogFeature.cmake:91 (MESSAGE):
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-- If you are in Windows, try passing -DMYGUI_DEPENDENCIES_DIR=<path to
dependencies>
-- Also check that you buildind with RenderSystem that you need or set
another with -DMYGUI_RENDERSYSTEM=<1 2 or 3 for Direct3D_9 OGRE or OpenGL>
-----------------------------------------------------------------------------
+ freetype: Portable font engine <http://www.freetype.org>
+ ogre: Support for the Ogre render system <>
-----------------------------------------------------------------------------
Call Stack (most recent call first):
CMake/Dependencies.cmake:108 (MACRO_DISPLAY_FEATURE_LOG)
CMakeLists.txt:232 (include)
-- Configuring incomplete, errors occurred!
위와 같이 붉은색으로 오우거3D엔진 dll이 없다는 에러가 나옵니다. 해결책은 로그 밑에도 있듯 렌더시스템에 대해 -D 옵션을 정의해주면 됩니다.
여러가지 옵션이 있는데요 그중에서 -D 옵션은 CMake에 의해 생성되는 CMakeCache.txt에 설정 정보를 넣어주기 위한 옵션인데요, 여기에 들어가면 다른 설정보다 우선순위가 높다고 합니다.
- -DMYGUI_RENDERSYSTEM=1 - Direct3D 9
- -DMYGUI_RENDERSYSTEM=2 - OGRE3D
- -DMYGUI_RENDERSYSTEM=3 - OpenGL
- -DMYGUI_RENDERSYSTEM=4 - Direct3D 11
각 렌더 시스템별 옵션은 위와 같습니다. cmake -DMYGUI_RENDERSYSTEM=1 -G
"Visual Studio 7 .NET 2003" 이런식으로 실행하면 일단 해결은 됩니다. 하지만 다른 에러가 기다리고 있네요. 다른 포스팅에서 정리해봅니다.
댓글
댓글 쓰기