CEGUI Port og OGRE demo6 work with OGRE 1.0.4?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
stodge
Just popping in
Just popping in
Posts: 9
Joined: Wed Jan 12, 2005 12:06

CEGUI Port og OGRE demo6 work with OGRE 1.0.4?

Postby stodge » Thu Sep 01, 2005 01:26

DOes the CEGUI port of OGRE Demo6 still work? I tried it with OGRE 1.0.4, but it won't compile:

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking for OGRE >= 0.15... yes
checking OGRE_CFLAGS... -DEXT_HASH -I/usr/local/include/OGRE
checking OGRE_LIBS... -L/usr/local/lib -lOgreMain
checking for CEGUI-OGRE >= 0.1.0... yes
checking CEGUI_CFLAGS... -DEXT_HASH -I/usr/local/include/OGRE
checking CEGUI_LIBS... -L/usr/local/lib -lCEGUIOgreRenderer -lOgreMain
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
[mike@localhost cegui_demo_6]$ make
Making all in src
make[1]: Entering directory `/home/mike/Desktop/Downloads/cegui_demo_6/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ceguidemo6\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I. -I.. -DEXT_HASH -I/usr/local/include/OGRE   -DEXT_HASH -I/usr/local/include/OGRE      -g -O2 -MT CEGUIOgre_TestDriver1.o -MD -MP -MF ".deps/CEGUIOgre_TestDriver1.Tpo" -c -o CEGUIOgre_TestDriver1.o CEGUIOgre_TestDriver1.cpp; \
then mv -f ".deps/CEGUIOgre_TestDriver1.Tpo" ".deps/CEGUIOgre_TestDriver1.Po"; else rm -f ".deps/CEGUIOgre_TestDriver1.Tpo"; exit 1; fi
CEGUIOgre_TestDriver1.cpp:29:19: error: CEGUI.h: No such file or directory
CEGUIOgre_TestDriver1.cpp:31:52: error: renderers/OgreGUIRenderer/ogrerenderer.h: No such file or directory
make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make: *** [all-recursive] Error 1


Thanks

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

Re: CEGUI Port og OGRE demo6 work with OGRE 1.0.4?

Postby CrazyEddie » Thu Sep 01, 2005 09:14

Hi,

It's failing because the Ogre gui renderer module was removed from CEGUI and is now distributed with Ogre, so the include is in a different location.

All the old demos will be removed very shortly, because demos 4, 6, 7, and 8 are now integrated with the system as sample apps. Check out the v0-4 CVS branch if you're interested.

There are a few steps required to get Ogre working correctly within the new CEGUI samples framework; basically it involves setting up a resources.cfg file so that the samples can find everything. I'll be posting a quick tutorial on the Wiki about this once 0.4.0 is released.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: Google [Bot] and 4 guests