build error in SVN

Etherian

19-03-2011 01:43:29

I'm having trouble building MyGUI v3.2.0 rev 4228. It seems something is getting parsed wrong when CMake deals with Ogre's library directory. When I configure my build in CMake, it outputs a bunch of warnings that look like this:

CMake Warning (dev) at Platforms/Ogre/OgrePlatform/CMakeLists.txt:14 (link_directories):
This command specifies the relative path

"C:/OgreSDK_mingw_v1-7-1"/lib

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

Then, when trying to build MyGUI.OgrePlatform, it fails with this error:

[ 94%] Building CXX object Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/src/MyGUI_OgreDataManager.cpp.obj
In file included from C:\MyGUI_rep\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp:9:0:
C:\MyGUI_rep\Platforms\Ogre\OgrePlatform\include/MyGUI_OgreDataStream.h:13:28: fatal error: OgreDataStream.h: No such file or directory
compilation terminated.
mingw32-make[3]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/src/MyGUI_OgreDataManager.cpp.obj] Error 1
mingw32-make[2]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/all] Error 2
mingw32-make[1]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/rule] Error 2
mingw32-make: *** [MyGUI.OgrePlatform] Error 2


I did some searching and found that many .cmake files in my build directory look like this one ([build dir]\Platforms\Ogre\OgrePlatform\CMakeFiles\CMakeDirectoryInformation.cmake):

# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 2.8

# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "C:/MyGUI_rep")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "C:/MyGUI_rep_MinGW")

# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)

# The C and CXX include file search paths:
SET(CMAKE_C_INCLUDE_PATH
"C:/MyGUI_rep/MyGUIEngine/include"
"C:/MyGUI_rep/Platforms/Ogre/OgrePlatform/include"
"C:/MyGUI_rep/Platforms/Ogre/OgrePlatform/"C:/OgreSDK_mingw_v1-7-1"/include/OGRE"
"C:/MyGUI_rep/Platforms/Ogre/OgrePlatform/"C:/OgreSDK_mingw_v1-7-1"/include"
)
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})

# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

I'm guessing the two lines
"C:/MyGUI_rep/Platforms/Ogre/OgrePlatform/"C:/OgreSDK_mingw_v1-7-1"/include/OGRE"
"C:/MyGUI_rep/Platforms/Ogre/OgrePlatform/"C:/OgreSDK_mingw_v1-7-1"/include"
should look like
"C:/OgreSDK_mingw_v1-7-1/include/OGRE"
"C:/OgreSDK_mingw_v1-7-1/include".
In case it helps, I'm using MinGW as my compiler, MinGW Makefiles for my build system, and the Ogre SDK.

On an unrelated note, why does the forum keep changing my code tags into C++ code tags?

Altren

19-03-2011 02:46:53

Looks like you used paths with quotes. Try removing quotes from paths that you used in CMake. Preferably delete cache, because CMake might same some old values.

Etherian

19-03-2011 20:03:09

Thanks for replying so quickly.
I thought that extraneous quotes in the CMake options might have been the problem too. I removed unnecessary quotes from some Ogre entries, but CMake output the same warnings and MinGW output the same error. I checked the cache and everything was correct. I searched my build directory for "C:/OgreSDK_mingw_v1-7-1" (with quotes), but all I found were the CMakeDirectoryInformation.cmake files. I tried modifying the CMakeDirectoryInformation.cmake files directly, but it didn't affect the build or configuration processes and the files were overwritten in the generation process.

Altren

19-03-2011 20:34:56

Show CMakeCache.txt file from build directory.

Etherian

19-03-2011 20:38:18

# This is the CMakeCache file.
# For build in directory: c:/MyGUI_rep_MinGW
# It was generated by CMake: C:/Program Files (x86)/CMake 2.8/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a program.
CMAKE_AR:FILEPATH=C:/MinGW32/bin/ar.exe

//Choose the type of build, options are: None (CMAKE_CXX_FLAGS
// or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=Release

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=C:/MinGW32/bin/g++.exe

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

//Libraries linked by defalut with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32

//C compiler.
CMAKE_C_COMPILER:FILEPATH=C:/MinGW32/bin/gcc.exe

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

//Libraries linked by defalut with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//MYGUI install prefix
CMAKE_INSTALL_PREFIX:PATH=C:/MyGUI_rep_MinGW/sdk

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/MinGW32/bin/ld.exe

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=C:/MinGW32/bin/mingw32-make.exe

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=C:/MinGW32/bin/nm.exe

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=C:/MinGW32/bin/objcopy.exe

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=C:/MinGW32/bin/objdump.exe

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=MYGUI

//Path to a program.
CMAKE_RANLIB:FILEPATH=C:/MinGW32/bin/ranlib.exe

//Path to a program.
CMAKE_SH:FILEPATH=CMAKE_SH-NOTFOUND

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=OFF

//Path to a program.
CMAKE_STRIP:FILEPATH=C:/MinGW32/bin/strip.exe

//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=OFF

//Dependencies for the target
Common_LIB_DEPENDS:STATIC=general;MyGUI.OgrePlatform;optimized;C:/OgreSDK_mingw_v1-7-1/lib/release/libOIS.a;debug;C:/OgreSDK_mingw_v1-7-1/lib/debug/libOIS_d.a;

//Graphviz Dot tool for using Doxygen
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND

//Doxygen documentation generation tool (http://www.doxygen.org)
DOXYGEN_EXECUTABLE:FILEPATH=C:/Program Files (x86)/doxygen/bin/doxygen.exe

//Path to a file.
FREETYPE_FT2BUILD_INCLUDE_DIR:PATH=C:/freetype-2.1.10/include

//Path to a file.
FREETYPE_INCLUDE_DIR:PATH=C:/freetype-2.1.10/include

//Path to a library.
FREETYPE_LIBRARY_DBG:FILEPATH=C:/freetype-2.1.10/objs/freetype.a

//Path to a library.
FREETYPE_LIBRARY_REL:FILEPATH=C:/freetype-2.1.10/objs/freetype.a

//Value Computed by CMake
MYGUI_BINARY_DIR:STATIC=C:/MyGUI_rep_MinGW

//Build Plugin BerkeliumWidget
MYGUI_BUILD_BERKELIUM_PLUGIN:BOOL=OFF

//Build MyGUI demos
MYGUI_BUILD_DEMOS:BOOL=ON

//Generate documentation
MYGUI_BUILD_DOCS:BOOL=ON

//Build Plugin HikariWidget
MYGUI_BUILD_HIKARI_PLUGIN:BOOL=OFF

//Build MyGUI plugins
MYGUI_BUILD_PLUGINS:BOOL=ON

//Build TestApp
MYGUI_BUILD_TEST_APP:BOOL=OFF

//Build the tools
MYGUI_BUILD_TOOLS:BOOL=ON

//Build the unit tests
MYGUI_BUILD_UNITTESTS:BOOL=OFF

//Build the wrapper
MYGUI_BUILD_WRAPPER:BOOL=OFF

//Create package.
MYGUI_CREATE_PACKAGE:BOOL=OFF

//Path to prebuilt MYGUI dependencies
MYGUI_DEPENDENCIES_DIR:PATH=Dependencies

//Remove obsole functions from build
MYGUI_DONT_USE_OBSOLETE:BOOL=OFF

//Build executables with the full required RPATH to run from their
// install location.
MYGUI_FULL_RPATH:BOOL=OFF

//Use high level compiler warnings. Developers should enable this.
MYGUI_HIGH_LEVEL_WARNINGS:BOOL=OFF

//Install documentation.
MYGUI_INSTALL_DOCS:BOOL=ON

//Install media files.
MYGUI_INSTALL_MEDIA:BOOL=OFF

//Install MyGUI demos.
MYGUI_INSTALL_SAMPLES:BOOL=OFF

//Install samples source files.
MYGUI_INSTALL_SAMPLES_SOURCE:BOOL=OFF

//Install MyGUI tools.
MYGUI_INSTALL_TOOLS:BOOL=ON

//Ogre have DirectX render ssystem and we don't need to disable
// it
MYGUI_OGRE_WAS_BUILT_WITH_DIRECTX:BOOL=ON

//Specify the Render System. Possible values:
//\n 1 - Direct3D 9
//\n 2 - Ogre
//\n 3 - OpenGL
MYGUI_RENDERSYSTEM:STRING=2

//Don't use C++ rtti, use strings instead
MYGUI_RTTI_DISABLE_TYPE_INFO:BOOL=OFF

//Specify the Input Manager for samples. Possible values:
//\n 1 - OIS
//\n 2 - Win32
//\n 3 - Win32 (Mouse) + OIS (Keyboard)
MYGUI_SAMPLES_INPUT:STRING=1

//Value Computed by CMake
MYGUI_SOURCE_DIR:STATIC=C:/MyGUI_rep

//Generate build files that do not reference CMake (should be used
// only from Scripts/prepareRelease.py)
MYGUI_STANDALONE_BUILD:BOOL=OFF

//Static build
MYGUI_STATIC:BOOL=OFF

//Copy dlls needed for sample builds
MYGUI_TRY_TO_COPY_DLLS:BOOL=ON

//Use freetype for font rendering
MYGUI_USE_FREETYPE:BOOL=ON

//Dependencies for the target
MyGUI.OgrePlatform_LIB_DEPENDS:STATIC=debug;OgreMain_d;optimized;OgreMain;

//Value Computed by CMake
MyGUIEngine_BINARY_DIR:STATIC=C:/MyGUI_rep_MinGW/MyGUIEngine

//Dependencies for the target
MyGUIEngine_LIB_DEPENDS:STATIC=optimized;C:/freetype-2.1.10/objs/freetype.a;debug;C:/freetype-2.1.10/objs/freetype.a;

//Value Computed by CMake
MyGUIEngine_SOURCE_DIR:STATIC=C:/MyGUI_rep/MyGUIEngine

//Path to Ogre build directory (same as OGRE_SOURCE by default)
OGRE_BUILD:PATH=C:/OgreSDK_mingw_v1-7-1

OGRE_INCLUDE_DIR:PATH=C:/OgreSDK_mingw_v1-7-1/include/OGRE;C:/OgreSDK_mingw_v1-7-1/include

OGRE_LIBRARIES:STRING=debug;OgreMain_d;optimized;OgreMain

OGRE_LIB_DIR:PATH=C:/OgreSDK_mingw_v1-7-1/lib

//Path to Ogre sources (set it if you don't have OGRE_HOME or OGRE_SRC
// environment variables)
OGRE_SOURCE:PATH=

//x
OIS_INCLUDE_DIR:PATH=C:/OgreSDK_mingw_v1-7-1/include/OIS

//x
OIS_LIBRARY_DBG:FILEPATH=C:/OgreSDK_mingw_v1-7-1/lib/debug/libOIS_d.a

//x
OIS_LIBRARY_FWK:STRING=NOTFOUND

//x
OIS_LIBRARY_REL:FILEPATH=C:/OgreSDK_mingw_v1-7-1/lib/release/libOIS.a

//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=PKG_CONFIG_EXECUTABLE-NOTFOUND

//Dependencies for the target
Plugin_StrangeButton_LIB_DEPENDS:STATIC=general;MyGUIEngine;


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=C:/MinGW32/bin/mingw32-make.exe
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/MyGUI_rep_MinGW
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files (x86)/CMake 2.8/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files (x86)/CMake 2.8/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files (x86)/CMake 2.8/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
CMAKE_C_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files (x86)/CMake 2.8/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=MinGW Makefiles
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/MyGUI_rep
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=27
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files (x86)/CMake 2.8/share/cmake-2.8
//ADVANCED property for variable: CMAKE_SH
CMAKE_SH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//CHECK_TYPE_SIZE: sizeof(unsigned short)
CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=2
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//Suppress Warnings that are meant for the author of the CMakeLists.txt
// files.
CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
//Details about finding Doxygen
FIND_PACKAGE_MESSAGE_DETAILS_Doxygen:INTERNAL=[C:/Program Files (x86)/doxygen/bin/doxygen.exe]
//ADVANCED property for variable: FREETYPE_FT2BUILD_INCLUDE_DIR
FREETYPE_FT2BUILD_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_INCLUDE_DIR
FREETYPE_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_LIBRARY_DBG
FREETYPE_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_LIBRARY_REL
FREETYPE_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
FREETYPE_PREFIX_PATH_INT_CHECK:INTERNAL=
//Result of TRY_COMPILE
HAVE_CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_MYGUI_TEST_BIG_ENDIAN:INTERNAL=TRUE
//Have include stddef.h
HAVE_STDDEF_H:INTERNAL=1
//Have include stdint.h
HAVE_STDINT_H:INTERNAL=1
//Have include sys/types.h
HAVE_SYS_TYPES_H:INTERNAL=1
//Test MYGUI_GCC_VISIBILITY
MYGUI_GCC_VISIBILITY:INTERNAL=1
//ADVANCED property for variable: MYGUI_OGRE_WAS_BUILT_WITH_DIRECTX
MYGUI_OGRE_WAS_BUILT_WITH_DIRECTX-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MYGUI_STANDALONE_BUILD
MYGUI_STANDALONE_BUILD-ADVANCED:INTERNAL=1
//Result of TEST_BIG_ENDIAN
MYGUI_TEST_BIG_ENDIAN:INTERNAL=0
//ADVANCED property for variable: OIS_INCLUDE_DIR
OIS_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_LIBRARY_DBG
OIS_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_LIBRARY_FWK
OIS_LIBRARY_FWK-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_LIBRARY_REL
OIS_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
OIS_PREFIX_PATH_INT_CHECK:INTERNAL=/Dependencies;/Dependencies
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1

Altren

20-03-2011 02:18:17

Set OGRE_SOURCE CMake variable, that should solve your problem.

Etherian

20-03-2011 03:14:06

Thanks, everything built perfectly.