Samples Crash when Using DirectX9GUIRenderer

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
malachy1681
Just popping in
Just popping in
Posts: 19
Joined: Thu Sep 01, 2005 05:29
Contact:

Samples Crash when Using DirectX9GUIRenderer

Postby malachy1681 » Sun Dec 18, 2005 04:44

I've successfully compiled Sample_FirstWindow and Sample_FalagardDemo1 in Visual C++ 2005 Express. They run just fine using the OpenGLGUIRenderer, but both crash on startup when I try to use the DirectX9GUIRenderer. The logfile for Sample_FirstWindow shows this:

Code: Select all

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

17/12/2005 23:41:52 (InfL1)   CEGUI::Logger singleton created.
17/12/2005 23:41:52 (InfL1)   ---- Begining CEGUI System initialisation ----
17/12/2005 23:41:52 (InfL1)   CEGUI::ImagesetManager singleton created
17/12/2005 23:41:52 (InfL1)   CEGUI::FontManager singleton created.
17/12/2005 23:41:52 (InfL1)   CEGUI::WindowFactoryManager singleton created
17/12/2005 23:41:52 (InfL1)   CEGUI::WindowManager singleton created
17/12/2005 23:41:52 (InfL1)   CEGUI::SchemeManager singleton created.
17/12/2005 23:41:52 (InfL1)   CEGUI::MouseCursor singleton created.
17/12/2005 23:41:52 (InfL1)   CEGUI::GlobalEventSet singleton created.
17/12/2005 23:41:52 (InfL1)   CEGUI::WidgetLookManager singleton created.
17/12/2005 23:41:52 (InfL1)   WindowFactory for 'DefaultWindow' windows added.
17/12/2005 23:41:52 (InfL1)   WindowFactory for 'DragContainer' windows added.
17/12/2005 23:41:52 (InfL1)   WindowFactory for 'ScrolledContainer' windows added.
17/12/2005 23:41:52 (InfL1)   Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/12/2005 23:41:52 (InfL1)   CEGUI::System singleton created.
17/12/2005 23:41:52 (InfL1)   ---- CEGUI System initialisation completed ----
17/12/2005 23:41:52 (InfL1)   ---- Version 0.4.1 ----
17/12/2005 23:41:52 (InfL1)   ---- Renderer module is: CEGUI::DirectX81Renderer - Official Direct3D 9 based renderer module for CEGUI ----
17/12/2005 23:41:52 (InfL1)   ---- XML Parser module is: CEGUI::XercesParser - Official Xerces-C++ based parser module for CEGUI ----
17/12/2005 23:41:52 (InfL1)   ---- Scripting module is: None ----
17/12/2005 23:41:52 (InfL1)   QMX - Index0000
17/12/2005 23:41:52 (InfL1)   Attempting to load Scheme from file '../../../datafiles/schemes/TaharezLookSkin.scheme'.
17/12/2005 23:41:52 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'GUIScheme.xsd'.
17/12/2005 23:41:52 (InfL1)   XercesParser::initialiseSchema - XML schema file 'GUIScheme.xsd' has been initialised.
17/12/2005 23:41:52 (InfL2)   Started creation of Scheme 'TaharezLookSkin' via XML file.
17/12/2005 23:41:52 (InfL2)   Finished creation of Scheme 'TaharezLookSkin' via XML file.
17/12/2005 23:41:52 (InfL2)   Loaded GUI scheme 'TaharezLookSkin' from data in file '../../../datafiles/schemes/TaharezLookSkin.scheme'.
17/12/2005 23:41:52 (InfL2)   ---- Begining resource loading for GUI scheme 'TaharezLookSkin' ----
17/12/2005 23:41:52 (InfL1)   Attempting to create an Imageset from the information specified in file '../../../datafiles/imagesets/TaharezLook.imageset'.
17/12/2005 23:41:52 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Imageset.xsd'.
17/12/2005 23:41:52 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Imageset.xsd' has been initialised.
17/12/2005 23:41:52 (InfL2)   Started creation of Imageset 'TaharezLook' via XML file.


The logfile for Sample_FalagardDemo1 shows this:

Code: Select all

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

17/12/2005 23:37:17 (InfL1)   CEGUI::Logger singleton created.
17/12/2005 23:37:17 (InfL1)   ---- Begining CEGUI System initialisation ----
17/12/2005 23:37:17 (InfL1)   CEGUI::ImagesetManager singleton created
17/12/2005 23:37:17 (InfL1)   CEGUI::FontManager singleton created.
17/12/2005 23:37:17 (InfL1)   CEGUI::WindowFactoryManager singleton created
17/12/2005 23:37:17 (InfL1)   CEGUI::WindowManager singleton created
17/12/2005 23:37:17 (InfL1)   CEGUI::SchemeManager singleton created.
17/12/2005 23:37:17 (InfL1)   CEGUI::MouseCursor singleton created.
17/12/2005 23:37:17 (InfL1)   CEGUI::GlobalEventSet singleton created.
17/12/2005 23:37:17 (InfL1)   CEGUI::WidgetLookManager singleton created.
17/12/2005 23:37:17 (InfL1)   WindowFactory for 'DefaultWindow' windows added.
17/12/2005 23:37:17 (InfL1)   WindowFactory for 'DragContainer' windows added.
17/12/2005 23:37:17 (InfL1)   WindowFactory for 'ScrolledContainer' windows added.
17/12/2005 23:37:17 (InfL1)   Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/12/2005 23:37:17 (InfL1)   CEGUI::System singleton created.
17/12/2005 23:37:17 (InfL1)   ---- CEGUI System initialisation completed ----
17/12/2005 23:37:17 (InfL1)   ---- Version 0.4.1 ----
17/12/2005 23:37:17 (InfL1)   ---- Renderer module is: CEGUI::DirectX81Renderer - Official Direct3D 9 based renderer module for CEGUI ----
17/12/2005 23:37:17 (InfL1)   ---- XML Parser module is: CEGUI::XercesParser - Official Xerces-C++ based parser module for CEGUI ----
17/12/2005 23:37:17 (InfL1)   ---- Scripting module is: None ----
17/12/2005 23:37:17 (InfL1)   Attempting to load Scheme from file '../../../datafiles/schemes/VanillaSkin.scheme'.
17/12/2005 23:37:17 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'GUIScheme.xsd'.
17/12/2005 23:37:17 (InfL1)   XercesParser::initialiseSchema - XML schema file 'GUIScheme.xsd' has been initialised.
17/12/2005 23:37:17 (InfL2)   Started creation of Scheme 'VanillaSkin' via XML file.
17/12/2005 23:37:17 (InfL2)   Finished creation of Scheme 'VanillaSkin' via XML file.
17/12/2005 23:37:17 (InfL2)   Loaded GUI scheme 'VanillaSkin' from data in file '../../../datafiles/schemes/VanillaSkin.scheme'.
17/12/2005 23:37:17 (InfL2)   ---- Begining resource loading for GUI scheme 'VanillaSkin' ----
17/12/2005 23:37:17 (InfL1)   Attempting to create an Imageset from the information specified in file '../../../datafiles/imagesets/Vanilla.imageset'.
17/12/2005 23:37:17 (InfL1)   XercesParser::initialiseSchema - Attempting to load schema from file 'Imageset.xsd'.
17/12/2005 23:37:17 (InfL1)   XercesParser::initialiseSchema - XML schema file 'Imageset.xsd' has been initialised.
17/12/2005 23:37:17 (InfL2)   Started creation of Imageset 'Vanilla-Images' via XML file.


BTW, I did alter Sample_FirstWindow to use Falagard, but Sample_FalagardDemo1 is unaltered.

Any ideas would be greatly appreciated.

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

Re: Samples Crash when Using DirectX9GUIRenderer

Postby CrazyEddie » Sat Feb 04, 2006 20:38

You'd need to post some diagnostics, such as a callstack / backtrace or something like that.

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 14 guests