windowfactory object not registered with the system [Taharez

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
babbelfisken
Just popping in
Just popping in
Posts: 11
Joined: Tue Nov 08, 2005 13:55

windowfactory object not registered with the system [Taharez

Postby babbelfisken » Thu Dec 01, 2005 16:22

Hi,

This is my CEGUI.log file:

01/12/2005 17:18:09 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
01/12/2005 17:18:09 (InfL1) + Crazy Eddie's GUI System - Event log +
01/12/2005 17:18:09 (InfL1) + (http://www.cegui.org.uk/) +
01/12/2005 17:18:09 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

01/12/2005 17:18:09 (InfL1) CEGUI::Logger singleton created.
01/12/2005 17:18:09 (InfL1) ---- Begining CEGUI System initialisation ----
01/12/2005 17:18:09 (InfL1) CEGUI::ImagesetManager singleton created
01/12/2005 17:18:09 (InfL1) CEGUI::FontManager singleton created.
01/12/2005 17:18:09 (InfL1) CEGUI::WindowFactoryManager singleton created
01/12/2005 17:18:09 (InfL1) CEGUI::WindowManager singleton created
01/12/2005 17:18:09 (InfL1) CEGUI::SchemeManager singleton created.
01/12/2005 17:18:09 (InfL1) CEGUI::MouseCursor singleton created.
01/12/2005 17:18:09 (InfL1) CEGUI::GlobalEventSet singleton created.
01/12/2005 17:18:09 (InfL1) WindowFactory for 'DefaultWindow' windows added.
01/12/2005 17:18:09 (InfL1) WindowFactory for 'DragContainer' windows added.
01/12/2005 17:18:09 (InfL1) WindowFactory for 'ScrolledContainer' windows added.
01/12/2005 17:18:09 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
01/12/2005 17:18:09 (InfL1) CEGUI::System singleton created.
01/12/2005 17:18:09 (InfL1) ---- CEGUI System initialisation completed ----
01/12/2005 17:18:09 (InfL1) Attempting to load Scheme from file 'TaharezLook.scheme'.
01/12/2005 17:18:09 (InfL2) Started creation of Scheme 'TaharezLook' via XML file.
01/12/2005 17:18:09 (InfL2) Finished creation of Scheme 'TaharezLook' via XML file.
01/12/2005 17:18:09 (InfL2) Loaded GUI scheme 'TaharezLook' from data in file 'TaharezLook.scheme'.
01/12/2005 17:18:09 (InfL2) ---- Begining resource loading for GUI scheme 'TaharezLook' ----
01/12/2005 17:18:09 (InfL1) Attempting to create an Imageset from the information specified in file 'z:/CEGUI/datafiles/imagesets/TaharezLook.imageset'.
01/12/2005 17:18:09 (InfL2) Started creation of Imageset 'TaharezLook' via XML file.
01/12/2005 17:18:09 (InfL2) Finished creation of Imageset 'TaharezLook' via XML file.
01/12/2005 17:18:09 (InfL2) ---- Resource loading for GUI scheme 'TaharezLook' completed ----
01/12/2005 17:18:09 (InfL1) Attempting to create Font from the information specified in file 'Z:/CEGUI/datafiles/fonts/Commonwealth-10.font'.
01/12/2005 17:18:09 (InfL2) Started creation of Font 'Commonwealth-10' via XML file.
01/12/2005 17:18:09 (InfL1) Attempting to create Imageset 'Commonwealth-10_auto_glyph_images' with texture only.
01/12/2005 17:18:10 (InfL2) Font 'Commonwealth-10' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
01/12/2005 17:18:10 (InfL2) Finished creation of Font 'Commonwealth-10' via XML file.
01/12/2005 17:18:10 (InfL2) Window 'root' of type 'DefaultWindow' has been created.
01/12/2005 17:18:10 (Error) Exception: WindowFactoryManager::getFactory - A WindowFactory object (or an alias) for 'TaharezLook/FrameWindow' Window objects is not registered with the system.


I cannot solve this last line, seen other posted similar topics. In my exe dir (Debug) i have all the necessary *_d.dll like CEGUIBase_d.dll, CEGUITaharezLook_d.dll and even the xsd files..

I've basically followed the tutorial from cegui's site and i want to create a FrameWindow to add to my root window..

Plz Shine some light
/Daniel

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

Re: windowfactory object not registered with the system [Tah

Postby lindquist » Thu Dec 01, 2005 16:48

IIRC the 0.3 release needs the window factories to be loaded defined in the scheme file. Are you sure you're not using the datafiles from 0.4 ?

User avatar
babbelfisken
Just popping in
Just popping in
Posts: 11
Joined: Tue Nov 08, 2005 13:55

Re: windowfactory object not registered with the system [Tah

Postby babbelfisken » Thu Dec 01, 2005 18:15

Well,

This is what i have:

Downloaded CEGUI pre-built SDK 0.4.1 for Visual C++ .NET 2003 (v7.1)
Downloaded Ogre SDK 1.0.6

When i run the exe a runtime error is displayed as followed:
"The procedure entry point ??HCEGUI@@YA?AVString@0@V10@ABV10@@Z could not be located in the dynamic link library CEGUIBase_d.dll"

I saw a similar thread that you replied that the problem was fixed in CEGUI 0.4.1 ?? Is it ?

So i started to wonder if i had everything right. I downloaded Ogre Dependencies for VC++ .NET 2003 (v7.1) also and saw that its version of CEGUIBase_d.dll where a bit larger than the one shipped with the SDK. So i tried using that one and the problem disappeared.

I'm a bit confused, which files am i about to use? should i replace those files in the SDK with those in the 3d party dependencies?

I merely want to have the rigth starting point with all the libs,dlls and so forth :)

/Daniel

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

Re: windowfactory object not registered with the system [Tah

Postby lindquist » Thu Dec 01, 2005 23:04

The log you posted is pre-0.4. I know as the version is'nt logged...
Sounds a bit like you're messing up old and new libraries and DLLs.

I'd wipe everything except the renderer that's CEGUI from your Ogre directories.

User avatar
babbelfisken
Just popping in
Just popping in
Posts: 11
Joined: Tue Nov 08, 2005 13:55

Re: windowfactory object not registered with the system [Tah

Postby babbelfisken » Fri Dec 02, 2005 15:44

Okey, fast question :)

Does everything i need to use cegui w/ ogre come with CEGUI SDK 0.4.1 ?

Sorry for my stupid questions, but i'm going a bit mad that i can't seem to fix this :)

/Daniel

User avatar
babbelfisken
Just popping in
Just popping in
Posts: 11
Joined: Tue Nov 08, 2005 13:55

Re: windowfactory object not registered with the system [Tah

Postby babbelfisken » Fri Dec 02, 2005 15:55

Another Q:

Where to put the .scheme .font .xsd files ?
Should they be in my working dir(exe) along with the CEGUIBase_d.dll ... ... ... ? If i'm using only the TaharezLook scheme...

For instance:
CEGUI::SchemeManager::getSingleton().loadScheme("TaharezLook.scheme");

Where does it search for this file? By ogre resources.cfg or in the same dir as the .exe ?

/Daniel

User avatar
Tzyr
Just popping in
Just popping in
Posts: 7
Joined: Tue Nov 29, 2005 06:42

Re: windowfactory object not registered with the system [Tah

Postby Tzyr » Fri Dec 02, 2005 20:13

babbelfisken wrote:
Another Q:

Where to put the .scheme .font .xsd files ?
Should they be in my working dir(exe) along with the CEGUIBase_d.dll ... ... ... ? If i'm using only the TaharezLook scheme...

For instance:
CEGUI::SchemeManager::getSingleton().loadScheme("TaharezLook.scheme");

Where does it search for this file? By ogre resources.cfg or in the same dir as the .exe ?

/Daniel


You put the .sceme, .font, .layout, (dunno what .xsd files are) in a directory that is in your resources.cfg (or that you have set up at least). How I do with my program is, if you want to control the resource group, as in you want to load it, unload it from memory, create your own group. Else, you can put it in [general].

You can put them all in /gui if you want.

If you were just asking where to put them so that it would work, as long as you initiate the group that all of them are in, it should work.


Does everything i need to use cegui w/ ogre come with CEGUI SDK 0.4.1 ?


I dunno if there is a difference between the sdk and the source of cegui, but this is from the readme

Requirements
============
As well as one of the above supported systems, Crazy Eddie's GUI System Mk-2
also requires the use of some third party external libraries. These libraries
are as follows:

Freetype2 (http://www.freetype.org)
Optionally: Xerces-C++ XML parser (http://xml.apache.org/xerces-c)

User avatar
babbelfisken
Just popping in
Just popping in
Posts: 11
Joined: Tue Nov 08, 2005 13:55

Re: windowfactory object not registered with the system [Tah

Postby babbelfisken » Fri Dec 02, 2005 20:31

thanx, i fixed it.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 23 guests