I downloaded 'OgreSDK_MinGW_v1-8-1' version and I was trying to build sample application but failed. I found that CEGUI is not bundled with this version but Boost API was there. for CEGUI I downloaded CEGUI 0.8.4 and tried to install it. the dependencies I was able to build successfully. but it failed while making CEGUI src with CMake. See below is full stake-trace from CMake. I know its more relevant to CEGUI forum than Ogre forum. but I am posting it here because when I deselect 'CEGUI_BUILD_RENDERER_OGRE' the error for 'Boost_INCLUDE_DIR' disappear and I am able to generate. but later on while building CEGUI it failed, the build error stake trace is below the cmake stake trace. I know building CEGUI is also not relevant to this forum but I feel I am doing something incorrect with ogre setup and I am completely failed to figure it out. I need some assistance form some body expert from this forum to make Ogre setup up and running. However I am able to create application and use Ogre api and able to see Ogre config window and able to use OGRE and OIS APIs. Getting some warning messages related to boost api in Eclipse console but application works smoothly.
CMake Stake Trace:-
Code: Select all
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FRIBIDI (missing: FRIBIDI_FOUND_ALL_LIBS FRIBIDI_INCLUDE_DIR)
Could NOT find DIRECTXSDK (missing: DIRECTXSDK_LIB_PATH DIRECTXSDK_H_PATH DIRECTXSDK_MAX_D3D)
Could NOT find D3DX11EFFECTS (missing: D3DX11EFFECTS_LIB D3DX11EFFECTS_H_PATH)
Could NOT find IRRLICHT (missing: IRRLICHT_LIB IRRLICHT_H_PATH)
Could NOT find Boost
Could NOT find OIS (missing: OIS_LIB OIS_H_PATH)
Could NOT find DIRECTFB (missing: DIRECTFB_LIB DIRECTFB_H_PATH)
Could NOT find OPENGLES (missing: OPENGLES_LIB OPENGLES_H_PATH)
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find RAPIDXML (missing: RAPIDXML_H_PATH)
Could NOT find PVRTOOLS (missing: PVRTOOLS_LIB PVRTOOLS_H_PATH)
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Could NOT find Boost
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
Info: The OgreRenderer is disabled in the SampleBrowser because of missing dependencies (OIS not found). Please add the dependencies and run 'Configure' in CMake again, in case you want to run the SampleBrowser using OgreRenderer.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory C:/MinGW/cegui-cegui-0de00dbc2cd5/cegui/src/RendererModules/Ogre
Configuring incomplete, errors occurred!
See also "C:/MinGW/cegui-cegui-0de00dbc2cd5/CMakeFiles/CMakeOutput.log".
Build Error Stake Trace:-
Code: Select all
Linking CXX shared library ..\..\bin\libCEGUIBase-0.dll
CMakeFiles\CEGUIBase-0.dir/objects.a(MinizipResourceProvider.cpp.obj):MinizipResourceProvider.cpp:(.text+0x62): undefined reference to `_imp__PathMatchSpecA@8'
CMakeFiles\CEGUIBase-0.dir/objects.a(MinizipResourceProvider.cpp.obj):MinizipResourceProvider.cpp:(.text+0x1144): undefined reference to `_imp__PathMatchSpecA@8'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: CMakeFiles\CEGUIBase-0.dir/objects.a(MinizipResourceProvider.cpp.obj): bad reloc address 0x4 in section `.text$_ZN5CEGUI23DefaultResourceProviderC2Ev[__ZN5CEGUI23DefaultResourceProviderC2Ev]'
collect2.exe: error: ld returned 1 exit status
cegui\src\CMakeFiles\CEGUIBase-0.dir\build.make:4146: recipe for target 'bin/libCEGUIBase-0.dll' failed
mingw32-make[2]: *** [bin/libCEGUIBase-0.dll] Error 1
CMakeFiles\Makefile2:74: recipe for target 'cegui/src/CMakeFiles/CEGUIBase-0.dir/all' failed
mingw32-make[1]: *** [cegui/src/CMakeFiles/CEGUIBase-0.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
C:\MinGW\cegui-cegui-0de00dbc2cd5>
I am using Windows 7 64 bit with intel HD graphics support, Eclipse Indigo on Java8, CMake3.3.2m MinGW4.7.
Here is how I installed Ogre
I just unzipped 'OgreSDK_MinGW_v1-8-1' and configured according to http://www.ogre3d.org/tikiwiki/tiki-ind ... ll_OgreSDK tutorial.