Compiling cegui with ogre renderer

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

doktor5000
Just popping in
Just popping in
Posts: 3
Joined: Fri Dec 01, 2006 00:13
Contact:

Compiling cegui with ogre renderer

Postby doktor5000 » Fri Dec 01, 2006 00:44

Hello guys,

i managed to package cegui with SILLY and FreeImage Codecs, but i do not understand how to build that ogre renderer.
Obviously, ogre should be installed first, but Ogre does not build without Cegui in place, and as Cegui requires ogre this is a neverending cicle, so it seems to me.

This is the error message i get:

Code: Select all

checking for CEGUIOGRE... checking for CEGUI_NULL... configure: Use of Ogre3D in Samples is disabled


Regards

Florian Hubold

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

Postby lindquist » Sat Dec 02, 2006 10:34

1) build cegui
2) build ogre
3) build cegui
4) done

doktor5000
Just popping in
Just popping in
Posts: 3
Joined: Fri Dec 01, 2006 00:13
Contact:

Postby doktor5000 » Sat Dec 02, 2006 12:05

:oops: Shame on me for not considering that a possibilty.
Thank you very much for shedding some light into this.

BTW: Do you want to add my packages to the downloads section or such?

doktor5000
Just popping in
Just popping in
Posts: 3
Joined: Fri Dec 01, 2006 00:13
Contact:

Postby doktor5000 » Sat Dec 02, 2006 13:59

Hmmm, Ogre compilation stops at some point, complaining about some wrong include:

Code: Select all

OgreCEGUIRenderer.cpp: In member function ‘virtual CEGUI::Texture* CEGUI::OgreCEGUIRenderer::createTexture()’:
OgreCEGUIRenderer.cpp:360: error: cannot allocate an object of abstract type ‘CEGUI::OgreCEGUITexture’
../../../../Samples/Common/CEGUIRenderer/include/OgreCEGUITexture.h:42: note:   because the following virtual functions are pure within ‘CEGUI::OgreCEGUITexture’:
/usr/include/CEGUI/CEGUITexture.h:169: note:    virtual void CEGUI::Texture::loadFromMemory(const void*, CEGUI::uint, CEGUI::uint, CEGUI::Texture::PixelFormat)
make[4]: *** [OgreCEGUIRenderer.lo] Fehler 1
make[4]: Leaving directory `/home/shadow/rpm/BUILD/ogrenew/Samples/Common/CEGUIRenderer/src'
make[3]: *** [all-recursive] Fehler 1


I did not find anything about this, i have already asked at the ogre forums, but does anyone here know about this as its something from cegui.

Kind Regards

Florian

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

Postby lindquist » Sun Dec 03, 2006 17:34

The renderer module interface has changed slightly with 0.5, and Ogre needs to be patched.

http://www.ogre3d.org/wiki/index.php/Up ... ource_code


Return to “Help”

Who is online

Users browsing this forum: No registered users and 37 guests