Need help compiling 0.7.6 for OGRE

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

davidc538
Just popping in
Just popping in
Posts: 5
Joined: Thu Mar 01, 2012 16:49

Need help compiling 0.7.6 for OGRE

Postby davidc538 » Thu Mar 01, 2012 17:03

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Need help compiling 0.7.6 for OGRE

Postby CrazyEddie » Fri Mar 02, 2012 07:51

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.

davidc538
Just popping in
Just popping in
Posts: 5
Joined: Thu Mar 01, 2012 16:49

Re: Need help compiling 0.7.6 for OGRE

Postby davidc538 » Sat Mar 03, 2012 07:05

I'm up and running now, beautiful project too, so sensibly designed and straightforward to use. Thanks


Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests