Hi,
what is the way to integrate new CEGUI 0.7 into Ogre? Because OgreCEGUIRender has a new name (CEGUIOgreRenderer) etc.
Can somebody write instruction(in steps)?
Thank very much
Filip
Ogre with new CEGUI 0.7
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Ogre with new CEGUI 0.7
I'll try and do another step-by-step over the weekend, time permitting.
From a project point of view, just link to the lib with the new name. However, there are code changes that need to be made also, these are all described here: http://cegui.org.uk/docs/current/porting6to7.html There's a lot of it, but most of it will not apply to all projects - it all depends on what exactly you're doing and the facilities you're using. Probably the most important thing is to use the CEGUI::OgreRenderer::bootstrapSystem function to replace the current initialisation code to create the renderer and system objects.
Also be aware there a bugs galore in the 0.7.0 release packages, fixes are being made by the hour and we intend to issue 0.7.1 in early October to address the majority of these issues, if you're able to use the stable cegui_mk2/branches/v0-7 code from SVN it's highly recommended (and essential if you need the fixes before we can issue the 0.7.1 update).
CE.
From a project point of view, just link to the lib with the new name. However, there are code changes that need to be made also, these are all described here: http://cegui.org.uk/docs/current/porting6to7.html There's a lot of it, but most of it will not apply to all projects - it all depends on what exactly you're doing and the facilities you're using. Probably the most important thing is to use the CEGUI::OgreRenderer::bootstrapSystem function to replace the current initialisation code to create the renderer and system objects.
Also be aware there a bugs galore in the 0.7.0 release packages, fixes are being made by the hour and we intend to issue 0.7.1 in early October to address the majority of these issues, if you're able to use the stable cegui_mk2/branches/v0-7 code from SVN it's highly recommended (and essential if you need the fixes before we can issue the 0.7.1 update).
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Ogre with new CEGUI 0.7
Hi,
is somewhere any step-by-step way (manual) how integrate from version 0.6.x to 0.7.1?
Thanks
is somewhere any step-by-step way (manual) how integrate from version 0.6.x to 0.7.1?
Thanks
- Jabberwocky
- Quite a regular
- Posts: 86
- Joined: Wed Oct 31, 2007 18:16
- Location: Canada
- Contact:
Re: Ogre with new CEGUI 0.7
Roughly, here's the steps you should follow.
Step 1: Download CEGUI
Download from here
Step 2: Compile CEGUI
If you download a source package, compile it.
Compiling Instructions
This step is not necessary if you downloaded the precompiled SDK.
Step 3: Link to CEGUI
Get your ogre project to link to the new CEGUI libraries you've just finished downloading / compiling.
Step 4: Port your Project's CEGUI Code
Fix all the compile errors due to the interface changes from 0.6 to 0.7. Follow the porting notes for this.
Step 1: Download CEGUI
Download from here
Step 2: Compile CEGUI
If you download a source package, compile it.
Compiling Instructions
This step is not necessary if you downloaded the precompiled SDK.
Step 3: Link to CEGUI
Get your ogre project to link to the new CEGUI libraries you've just finished downloading / compiling.
- Make sure you've changed your include directory path to point to CEGUI 0.7
- Make sure you're linking against the new CEGUI_Base.lib and CEGUIOgreRenderer.lib (or CEGUIBase_d.lib and CEGUIOgreRenderer_d.lib if you're using a debug build)
- If you're using dynamic linking, make sure to replace the old CEGUI*.dll files with the new CEGUI*.dll files.
- Get rid of the old OgreCEGUIRenderer that came with Ogre. This has been replaced with the CEGUIOgreRenderer that comes with CEGUI. You should no longer include or link to OgreCEGUIRenderer.
Step 4: Port your Project's CEGUI Code
Fix all the compile errors due to the interface changes from 0.6 to 0.7. Follow the porting notes for this.
The Salvation Prophecy
Space Combat. Planet Exploration. Strategic Domination.
Space Combat. Planet Exploration. Strategic Domination.
Who is online
Users browsing this forum: No registered users and 14 guests