[Solved] update to CEGUI 0.6.0 for Ogre but how to ??

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

Moroheuz
Just popping in
Just popping in
Posts: 5
Joined: Wed May 21, 2008 22:47

[Solved] update to CEGUI 0.6.0 for Ogre but how to ??

Postby Moroheuz » Wed May 21, 2008 22:57

Hello togehter

How can I update CEGUI in Ogre? I use the SDK from Ogre.
I already have the files exchanged ... then there was an error the .. Tree DLL is missing. can someone give a little support?

I Love CEGUI & the transparent Windows ;-)

Thank you and beautiful evening
Last edited by Moroheuz on Thu May 22, 2008 19:38, edited 1 time in total.

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

Postby CrazyEddie » Thu May 22, 2008 08:43

If you wish to use the updated CEGUI you can't use the prebuild SDK versions of Ogre - you must use the source code version of Ogre because you need to rebuild the CEGUI Renderer module that is part of the Ogre source tree.

The basic recipe would be something like this:
1) Get CEGUI SDK (or build CEGUI from source).
2) Get Ogre source
3) Get Ogre dependencies package.
4) Remove all files relating to CEGUI from the Ogre dependencies.
5) Replace the removed files with the corresponding files from the CEGUI SDK
6) Build Ogre.
7) Use the resulting libs and dlls in place of those from the Ogre SDK
8) ???
9) Profit!

CE.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Thu May 22, 2008 08:44

Hi and welcome,

moving from 0.5 to 0.6 is indeed not much harder then copying the new files. However i'm affraight that you need to compile Ogre by yourself, because of the CeguiOgreRenderer for example.

Maybe there is some more info on the Ogre forums about this.

HTH.
Check out my released snake game using Cegui!

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Thu May 22, 2008 08:44

^^ Lol, beat me with one minute :)
Check out my released snake game using Cegui!

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

Postby CrazyEddie » Thu May 22, 2008 08:45

:twisted:

Moroheuz
Just popping in
Just popping in
Posts: 5
Joined: Wed May 21, 2008 22:47

Postby Moroheuz » Thu May 22, 2008 19:37

I have testet this

1) Get CEGUI SDK (or build CEGUI from source).
2) Get Ogre source
3) Get Ogre dependencies package.
4) Remove all files relating to CEGUI from the Ogre dependencies.
5) Replace the removed files with the corresponding files from the CEGUI SDK
6) Build Ogre.
7) Use the resulting libs and dlls in place of those from the Ogre SDK
8) ???
9) Profit!

and the ??? = have Time by the combile :-)

Thanks CrazyEddie for the Tutorial

ITS WORKS FINE

Liberator
Just popping in
Just popping in
Posts: 19
Joined: Mon Jun 25, 2007 13:16
Contact:

Postby Liberator » Thu May 22, 2008 20:51

I'm running 0.6 CEGUI with Ogre,.. no (new) problems.
I always delete all the CEGUI stuff in the Ogre folders cuz it can cause conflicts
Image
All that is necessary for the triumph of evil is that good men do nothing

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] update to CEGUI 0.6.0 for Ogre but how to ??

Postby Ident » Sat Oct 31, 2009 14:21

Horrible, i tried everything- I can't get it to run,..

I'm trying to update the latest version of Ogre from trunk (1.7 unstable) with the latest stable download of CEGUI which is 0.7.1 i think

What i did:

1) downloaded CEGUI SDK 0.7.1 for VC9
2) got solution of Ogre from trunk and all files
3) got latest stable dependencies
4) replaced and copied CEGUIBase.lib and CEGUIOgreRenderer.lib into dependencies/lib for respectively Debug and Release
5) replaced and copied the whole CEGUI/include folder with the include/cegui folder in the dependencies
6) completly cleaned and rebuilt the whole Ogre trunk project
7) moved all new DLL, LIB and include files into the respective directories of my project
8) ???
9) Runtime Error: Procedural Entry Point "?allocateBytes@NedAllocPolicy@Ogre@@SAPAXIPBDH0@Z" was not found in OgreMain_d.dll
10) Start Dependency Walker: CEGUIOGRERENDERER.DLL -
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

OgreMain_d.dll being displayed as one source of error,.. the other error (some IEFRAME.dll which appears often but never mattered) can be ignored afaik.
11) Find myself in a state of unbearable rage and depression after multiple hours of trial and error and still not getting this fixed
12) ???
13) finding myself again some hours later between empty whiskey bottles and trash bins in a backstreet at night


HALP!
CrazyEddie: "I don't like GUIs"

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] update to CEGUI 0.6.0 for Ogre but how to ??

Postby Ident » Sat Oct 31, 2009 14:55

I found this:
aleksk8 wrote:9. from ogre_src/ open VC project - for me Ogre_vc9.sln
10. on the left "panel" (projects (or modules whatever) list) find OgreGUIRenderer project
11. right click it choose project only/build OgreGuiRenderer
12. As build process is finished u should have OgreGUIRenderer_d.dll, OgreGUIRenderer_d.lib

in my left panel there is no project for CEGUI and i also got no new dll for cegui generated as i thought i read that you only compine the ogremain for cegui and not vice versa

i ll try to get this GuiRenderer project into my left VS panel now... :pint:
CrazyEddie: "I don't like GUIs"

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] update to CEGUI 0.6.0 for Ogre but how to ??

Postby Ident » Sat Oct 31, 2009 15:55

sorry for triple post, but i didnt make as much progress in the 12 hours of annoyment before my first post here, as i did in those last 3 hours of annoyment following that

it appears that my cmake rendered VS solution wouldn't show an option for the guiRenderer to build, - also the reason why i thought it wouldn't work this way

i again (4th time in 2 days) will get the whole Ogre 1.7 SVN trunk and start from scratch now, as overwriting the cmake files with those from a project where guirendeer is displayed and also reading the cmake log didnt help me or give me any clues to why it would hate me so badly

will take me another 3 hours to get all the stuff, insert all the stuff, configure all the stuff and build it,.. i ll report back, sorry for triple post :(


EDIT:

Completly started from scratch: any cegui option like in my older ogre 1.7 checkout does again not display

i'm confused as i don't know much about cmake and what the reason for this could be or what this means in terms of whats different :/


edit2:
totally gone, there is no option to just compile ceguiRenderer ,... i know this option existed but maybe they whiped it in the latest ogre repo? i m clueless what i should do

edit3:
just found this : "OGRE_BUILD_CEGUIRENDERER - If enabled, the CEGUI renderer component will be built. This requires that the CEGUI library was found by CMake. " Cmake didnt tell me it didnt find anythin,... libs are there tho, i'm confused, but one step closer to truth again!

damn this is kinda like becoming my diary, i guess i ll get insta-banned for this :cry:
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests