How to integrate CEGUI 0.5.0 RC2 with OGRE Dagon CVS?

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

User avatar
kungfoomasta
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Apr 06, 2005 08:25

How to integrate CEGUI 0.5.0 RC2 with OGRE Dagon CVS?

Postby kungfoomasta » Thu Oct 12, 2006 05:41

Hi CEGUI Community!

I wanted to upgrade my app to the latest CEGUI release, but I'm having a few problems. I got all of the CEGUI components compiled without any problems, but I'm getting errors when compiling some of the OGRE projects, such as the OgreGUIRenderer and other Demos that rely on the CEGUI Library. I don't really care about the demos, but I need OgreGUIRenderer.

I've compiled everything in release mode. I deleted the ogrenew/dependencies/include/CEGUI contents and replaced it with the headers from the mk2 folder, as well as the CEGUIBase.lib.

Here is the log for compiling OgreGUIRenderer in VC8:

Code: Select all

6>------ Build started: Project: OgreGUIRenderer, Configuration: Release Win32 ------
6>Compiling...
6>OgreCEGUITexture.cpp
6>OgreCEGUIResourceProvider.cpp
6>OgreCEGUIRenderer.cpp
6>..\src\OgreCEGUIRenderer.cpp(360) : error C2259: 'CEGUI::OgreCEGUITexture' : cannot instantiate abstract class
6>        due to following members:
6>        'void CEGUI::Texture::loadFromMemory(const void *,CEGUI::uint,CEGUI::uint,CEGUI::Texture::PixelFormat)' : is abstract
6>        e:\ogrenew\Dependencies\include\CEGUI/CEGUITexture.h(169) : see declaration of 'CEGUI::Texture::loadFromMemory'
6>Generating Code...
6>Build log was saved at "file://e:\ogrenew\Samples\Common\CEGUIRenderer\bin\Release\BuildLog.htm"
6>OgreGUIRenderer - 1 error(s), 0 warning(s)


Getting CEGUI working with OGRE Source v1.2.3 should also be applicable to my situation.

Also, what .dll's would be required to run one of the OGRE demo's that use CEGUI? There are a lot of CEGUI dll's that I no nothing about, such as:

CEGUIFalagardWRBase.dll
CEGUISILLYImageCodec.dll
CEGUITGAImageCodec.dll

Hope somebody can help me

KungFoomasta

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Thu Oct 12, 2006 11:15

The texture class interface has changed with 0.5, I posted a topic on the Ogre forums when we released RC1 stating the changes required.

User avatar
kungfoomasta
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Apr 06, 2005 08:25

Postby kungfoomasta » Thu Oct 12, 2006 16:48

Thanks for pointing me to the right thread lindquist. I nudged the thread again, I hope something is done to get the 2 libs compatable.

Can you explain to me what the 3 modules are used for?

CEGUIFalagardWRBase.dll
CEGUISILLYImageCodec.dll
CEGUITGAImageCodec.dll

KungFooMasta

User avatar
kungfoomasta
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Apr 06, 2005 08:25

Postby kungfoomasta » Thu Oct 12, 2006 17:10

I believe these steps will get the two working together:

Link to Wiki and tells needed modifications to files
http://www.ogre3d.org/phpBB2/viewtopic.php?t=21792

Wiki with batch file to upgrade OGRE source to CEGUI source
http://www.ogre3d.org/wiki/index.php/Up ... ource_code

Changes to Static Text and Static Image
http://www.cegui.org.uk/phpBB2/viewtopi ... =8480#8480

I hope this all works, won't be able to try it out until tonight =).

KungFooMasta


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests