jdp wrote:Thanks a bunch. That makes it much easier for me to follow, for what it's worth.
No problem. It is in our interest to make this process easier for everyone. I know the Ogre setup isnt very straight-forward (mostly due to boost!), that's also why I wrote this guide, which was the first thing I ever contributed to both CEGUI and Ogre, a bunch of years ago.
So it seems like it is still needed today
And a hell lot has changed since (back then there wasn't even CMake in CEGUI)
jdp wrote:After setting:
[...]
Thanks for the accurate report. Everything seems as expected there
jdp wrote:and also asked me to set two more paths, so I did:
Code: Select all
Boost_THREAD_LIBRARY_DEBUG = C:/Ogre/OgreSDK_vc11_v1-9-0/boost/lib/libboost_thread-vc110-mt-gd-1_55.lib
Boost_THREAD_LIBRARY_RELEASE = C:/Ogre/OgreSDK_vc11_v1-9-0/boost/lib/libboost_thread-vc110-mt-1_55.lib
Thanks, that's not in the guide yet. I will add that. The system and thread libs are btw the only ones you need.
jdp wrote:In the Boost section in CMake I am still getting NOTFOUND for:
Code: Select all
Boost_DIR
Boost_PYTHON_LIBRARY_DEBUG/RELEASE
Boost_TIMER_LIBRARY_DEBUG/RELEASE
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG/RELEASE
That's alright. These are not for Ogre but for our internal unit tests/performance tests and/or for the python bindings (pyCEGUI)
jdp wrote:I couldn't find a matching LIB file for those in my boost folder. [...] Will this be a problem? For now I just configured to see if there would be more errors.
You don't need to fill them out. If you fill them out, they won't be used in your case. Unless, of course, you want to build pyCEGUI or the unit tests, which you most likely do not want at this point.
jdp wrote:Code: Select all
Could NOT find MINIZIP (missing: MINIZIP_LIB MINIZIP_LIB_DBG MINIZIP_H_PATH)
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FRIBIDI (missing: FRIBIDI_FOUND_ALL_LIBS FRIBIDI_FOUND_ALL_LIBS_DBG 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_LIB_DBG D3DX11EFFECTS_H_PATH)
Could NOT find IRRLICHT (missing: IRRLICHT_LIB IRRLICHT_H_PATH)
Boost version: 1.55.0
Found the following Boost libraries:
thread
system
Could NOT find DIRECTFB (missing: DIRECTFB_LIB DIRECTFB_LIB_DBG DIRECTFB_H_PATH)
Could NOT find OPENGLES (missing: OPENGLES_LIB OPENGLES_H_PATH)
Could NOT find XERCESC (missing: XERCESC_LIB XERCESC_LIB_DBG XERCESC_H_PATH)
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find TINYXML (missing: TINYXML_LIB TINYXML_LIB_DBG TINYXML_H_PATH)
Could NOT find RAPIDXML (missing: RAPIDXML_H_PATH)
Could NOT find IL (missing: IL_LIB IL_LIB_DBG IL_H_PATH)
Could NOT find ILU (missing: ILU_LIB ILU_LIB_DBG)
Could NOT find FREEIMAGE (missing: FREEIMAGE_LIB FREEIMAGE_LIB_DBG FREEIMAGE_H_PATH)
Could NOT find CORONA (missing: CORONA_LIB CORONA_LIB_DBG CORONA_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)
Configuring done
Generating done
Yep, sounds good.
Your build log looks good too. I see a couple of warnings, some of which I feel had been fixed in the past, but different Ogre versions can cause new warnings. Generally, I personally try to keep all warnings from appearing in Visual Studio versions, but its difficult with all the changing Ogre versions. None of them seem crucial though.
jdp wrote:To try out the samples would I run the project called CEGUISampleFramework-0.8?
Yes. The debugging directory and target should be set already for the SampleFramework/SampleBrowser (that's an improvement i made for us Visual Studio users). However there is no way for us to to set the startup project to anything. There is a hack to make ALL_BUILD run the SampleBrowser executable but that's hackish and requires weird code in Cmake. The issue is that the Startup Project settings is not stored in the vcproj/vcxproj file but somewhere in a binary. So in the end: You always need to set the startup project on your own.
I will edit the wiki article based on your tellings. Please remember, you can always edit the wiki too, we even encourage users to do that. You can simply use your forum account and password, which also works for adding mantis tickets.