Page 1 of 1

Problem with creating a CEGUI 0.7 project with CEED

Posted: Sat Dec 10, 2011 18:35
by chrisjan
Hello!
I'm trying to get the CEGUI Unified Editor running (I want to create a project that produces layout files for CEGUI 0.7 the latest stable version - on my Linux PC). I copied the datafiles from CEGUI-0.7.5 to the project directory and set the paths in the pr-oject settings to these directories (and also the version to 0.7), but while importing the resources, it stops and a error message pops up. This error is:

Code: Select all

An attempt was made to load resources related to the project being opened, for some reason the loading didn't succeed so all resources were destroyed! The most likely reason is that the resource directories are wrong, this can be very easily remedied in the project settings.

This means that editing capabilities of CEED will be limited to editing of files that don't require a project opened (for example: imagesets).

Details of this error: CEGUI::AlreadyExistsException in file /home/christoph/cegui_unstable/cegui_mk2/cegui/cegui/src/RendererModules/OpenGL/Renderer.cpp(325) : OpenGLRenderer::createTexture: A texture named 'TaharezLook' already exists.

Does somebody know how to solve this problem?
Thanks in advance for all answers!


PS: Here the most important part of the log file:

Code: Select all

10/12/2011 19:31:43 (Std)    Started creation of Scheme from XML specification:
10/12/2011 19:31:43 (Std)    ---- CEGUI GUIScheme name: TaharezLook
10/12/2011 19:31:43 (Std)    ---- Returning existing instance of Scheme named 'TaharezLook'.
10/12/2011 19:31:43 (Std)    [ImageManager] Started creation of Imageset from XML specification:
10/12/2011 19:31:43 (Std)    [ImageManager] ---- CEGUI Imageset name: TaharezLook
10/12/2011 19:31:43 (Std)    [ImageManager] ---- Source texture file: TaharezLook.tga
10/12/2011 19:31:43 (Std)    [ImageManager] ---- Source texture resource group: (Default)
10/12/2011 19:31:43 (Error)   CEGUI::AlreadyExistsException in file /home/christoph/cegui_unstable/cegui_mk2/cegui/cegui/src/RendererModules/OpenGL/Renderer.cpp(325) : OpenGLRenderer::createTexture: A texture named 'TaharezLook' already exists.
10/12/2011 19:31:43 (Error)   The last thrown exception was related to XML file 'TaharezLook.imageset' from resource group 'imagesets'.

Re: Problem with creating a CEGUI 0.7 project with CEED

Posted: Sat Dec 10, 2011 19:02
by Kulik
The reason for this is very simple (and CEED ships with "corrected" 0.7 data). CEGUI 0.7 contains duplicate schemes. Like TaharezLook and TaharezLookWidgets. Both load the same imagesets so in the end it all gets duplicated and exceptions are thrown. The simple solution is to delete all schemes you won't use and just keep the SkinName.scheme schemes.

This probably should be in some FAQ, feel free to add it somewhere :-)

HTH

Re: Problem with creating a CEGUI 0.7 project with CEED

Posted: Sat Dec 10, 2011 19:14
by chrisjan
Yes, after deleting these files it seems to work!
Thank you very much for your help, Kulik!

I'm already looking forward to the release of CEGUI 0.8.
Do you accidently know how long it will approximately take? Some weeks or some months?

Re: Problem with creating a CEGUI 0.7 project with CEED

Posted: Sat Dec 10, 2011 20:14
by Kulik
We were aiming at January 2012, however right now things are moving very slowly, we need more contributors :-(

Re: Problem with creating a CEGUI 0.7 project with CEED

Posted: Sat Dec 31, 2011 19:44
by Mars_999
I couldn't find a FAQ for this, but I wanted to say that, when you setup the CEED editor, do not use the old CEGUI-SDK directory datafiles. They cause this error, but go to the CEED directory

ceed-snapshot5-win32\ceed-snapshot5\data\samples

and select which one you want to use....

BTW my question is this, I am using 0.7.5 can I just dump out a project file and load it like before using CEED snapshot 5?


Thanks!