Page 1 of 1

Need help compiling 0.7.6 for OGRE

Posted: Thu Mar 01, 2012 17:03
by davidc538
Hey everyone

I have downloaded the CEGUI sources for 0.7.6 and I'm trying to compile them for use with OGRE but have been getting nothing but issues. I've unzipped the CEGUI-0.7.6 folder into my ogre sdk directory and set the variables as following

Code: Select all

OGRE_PATHS = { "C:/OgreSDK", "include/OGRE", "lib" }
OIS_PATHS = { "C:/OgreSDK", "include/OIS", "lib" }
...
OPENGL_RENDERER = false
DIRECT3D9_RENDERER = false
DIRECT3D10_RENDERER = false
DIRECT3D11_RENDERER = false
IRRLICHT_RENDERER = false
OGRE_RENDERER = true
NULL_RENDERER = false


then ran the build_vs2008.bat to get the .sln but when i open it and build it all the include, library paths and output paths are completely wrong. can anyone help?

thanks in advance

Re: Need help compiling 0.7.6 for OGRE

Posted: Fri Mar 02, 2012 07:51
by CrazyEddie
The actual errors would have been helpful ;)

Read this: http://www.cegui.org.uk/wiki/index.php/ ... reRenderer

If you're using an Ogre SDK, be aware that Ogre changed the layout of libs in the SDKs and so the debug and release libs are within subdirectories (a completely pointless arrangement seeing that the debug version files already have a _d suffix). To resolve this you have two options - move / copy the libs out of the release / debug dirs into the upper lib dir, or add additional entries to that CEGUI_EXTRA_PATHS table to cover the subdirs. (If you're building Ogre yourself, on Windows I have no idea how the libs end up positioned, you'll need to use your experience to know which dirs to tell the CEGUI build about).

CE.

Re: Need help compiling 0.7.6 for OGRE

Posted: Sat Mar 03, 2012 07:05
by davidc538
I'm up and running now, beautiful project too, so sensibly designed and straightforward to use. Thanks