Using CEGUI with Leadwersk: program crashes in atioglxx.dll
Posted: Tue Jul 20, 2010 20:14
Hi all!
Here I have an error. I'm working with this code from tutorial (http://leadwerks.com/werkspace/index.ph ... -cegui-r30):
Here is an CEGUI log:
And here is an screenshot from VS2010. http://img64.imageshack.us/img64/485/ceguierror.png
Error appears at line
I know that your forum is not a right place to submit this error.
Here I have an error. I'm working with this code from tutorial (http://leadwerks.com/werkspace/index.ph ... -cegui-r30):
Code: Select all
#include <stdlib.h>
#include "engine.h"
#include "CEGUI.h"
#include "RendererModules\OpenGL\CEGUIOpenGLRenderer.h"
int main()
{
Initialize();
SetAppTitle("CEGUI");
Graphics(800, 600);
CreateFramework();
CEGUI::OpenGLRenderer &ceguiRenderer = CEGUI::OpenGLRenderer::create();
CEGUI::System::create(ceguiRenderer);
CEGUI::Logger::getSingleton().setLoggingLevel(CEGUI::Informative);
ceguiRenderer.enableExtraStateSettings(true);
CEGUI::DefaultResourceProvider *rp = static_cast<CEGUI::DefaultResourceProvider*>(CEGUI::System::getSingleton().getResourceProvider());
rp->setResourceGroupDirectory("schemes", "GUI/Schemes/");
rp->setResourceGroupDirectory("layouts", "GUI/Layouts/");
rp->setResourceGroupDirectory("looknfeels", "GUI/LookNFeels/");
rp->setResourceGroupDirectory("imagesets", "GUI/Imagesets/");
rp->setResourceGroupDirectory("fonts", "GUI/Fonts/");
CEGUI::Scheme::setDefaultResourceGroup("schemes");
CEGUI::WindowManager::setDefaultResourceGroup("layouts");
CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeels");
CEGUI::Imageset::setDefaultResourceGroup("imagesets");
CEGUI::Font::setDefaultResourceGroup("fonts");
CEGUI::SchemeManager::getSingleton().create("WindowsLook.scheme");
CEGUI::FontManager::getSingleton().create( "DejaVuSans-10.font" );
CEGUI::System::getSingleton().setDefaultFont("DejaVuSans-10");
CEGUI::WindowManager &wm = CEGUI::WindowManager::getSingleton();
CEGUI::Window *root = wm.loadWindowLayout("test.layout");
CEGUI::System::getSingleton().setGUISheet(root);
while (!AppTerminate() && !KeyHit())
{
UpdateFramework();
RenderFramework();
glPixelStoref(0x806E, 0);
glPixelStoref(GL_PACK_ROW_LENGTH, 0);
glPixelStoref(GL_UNPACK_ROW_LENGTH, 0);
CEGUI::System::getSingleton().renderGUI();
Flip();
}
Terminate();
return EXIT_SUCCESS;
}
Here is an CEGUI log:
Code: Select all
21/07/2010 00:05:20 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
21/07/2010 00:05:20 (Std) + Crazy Eddie's GUI System - Event log +
21/07/2010 00:05:20 (Std) + (http://www.cegui.org.uk/) +
21/07/2010 00:05:20 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
21/07/2010 00:05:20 (Std) CEGUI::Logger singleton created. (00424A80)
21/07/2010 00:05:20 (Std)
21/07/2010 00:05:20 (Std) ********************************************************************************
21/07/2010 00:05:20 (Std) * Important: *
21/07/2010 00:05:20 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
21/07/2010 00:05:20 (Std) * of this log file indicated below. Failure to do this will result in no *
21/07/2010 00:05:20 (Std) * support being given; please do not waste our time. *
21/07/2010 00:05:20 (Std) ********************************************************************************
21/07/2010 00:05:20 (Std) ********************************************************************************
21/07/2010 00:05:20 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
21/07/2010 00:05:20 (Std) ********************************************************************************
21/07/2010 00:05:20 (Std) ---- Version 0.7.1 (Build: Jan 27 2010 Microsoft Windows MSVC++ 9.0 32 bit) ----
21/07/2010 00:05:20 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support enabled via FBO extension. ----
21/07/2010 00:05:20 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
21/07/2010 00:05:20 (Std) ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
21/07/2010 00:05:20 (Std) ---- Scripting module is: None ----
21/07/2010 00:05:20 (Std) ********************************************************************************
21/07/2010 00:05:20 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
21/07/2010 00:05:20 (Std) ********************************************************************************
21/07/2010 00:05:20 (Std)
21/07/2010 00:05:20 (Std) ---- Begining CEGUI System initialisation ----
21/07/2010 00:05:20 (Std) CEGUI::ImagesetManager singleton created (0042D208)
21/07/2010 00:05:20 (Std) CEGUI::FontManager singleton created. (0042D2F8)
21/07/2010 00:05:20 (Std) CEGUI::WindowFactoryManager singleton created
21/07/2010 00:05:20 (Std) CEGUI::WindowManager singleton created (0041FD98)
21/07/2010 00:05:20 (Std) CEGUI::SchemeManager singleton created. (0042DBB0)
21/07/2010 00:05:20 (Std) CEGUI::MouseCursor singleton created. (004293C8)
21/07/2010 00:05:20 (Std) CEGUI::GlobalEventSet singleton created. (0274FCE8)
21/07/2010 00:05:20 (Std) CEGUI::WidgetLookManager singleton created. (00424BB8)
21/07/2010 00:05:20 (Std) CEGUI::WindowRendererManager singleton created (004222D0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'DefaultWindow' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'DefaultWindow' windows added. (004315B0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'DragContainer' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'DragContainer' windows added. (0042DDA0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'ScrolledContainer' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'ScrolledContainer' windows added. (00432698)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'ClippedContainer' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'ClippedContainer' windows added. (00432740)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Checkbox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Checkbox' windows added. (004327E8)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/PushButton' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/PushButton' windows added. (00432890)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/RadioButton' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/RadioButton' windows added. (00432938)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Combobox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Combobox' windows added. (004329E0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ComboDropList' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added. (00432A88)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Editbox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Editbox' windows added. (00432B30)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/FrameWindow' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added. (00432BD8)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ItemEntry' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added. (00432C80)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Listbox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Listbox' windows added. (00432D28)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ListHeader' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ListHeader' windows added. (00432DD0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (00432E90)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Menubar' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Menubar' windows added. (00432F38)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/PopupMenu' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added. (00432FE0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/MenuItem' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/MenuItem' windows added. (00433088)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/MultiColumnList' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added. (00433130)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (004331D8)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ProgressBar' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added. (00433280)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ScrollablePane' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added. (00433328)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Scrollbar' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added. (004333D0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Slider' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Slider' windows added. (00433478)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Spinner' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Spinner' windows added. (00433520)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/TabButton' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/TabButton' windows added. (004335C8)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/TabControl' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/TabControl' windows added. (00433670)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Thumb' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Thumb' windows added. (00433718)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Titlebar' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Titlebar' windows added. (004337C0)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Tooltip' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Tooltip' windows added. (00433868)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/ItemListbox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added. (00433910)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/GroupBox' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/GroupBox' windows added. (004339B8)
21/07/2010 00:05:20 (Std) Created WindowFactory for 'CEGUI/Tree' windows.
21/07/2010 00:05:20 (Std) WindowFactory for 'CEGUI/Tree' windows added. (00433A60)
21/07/2010 00:05:20 (Std) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
21/07/2010 00:05:20 (Std) CEGUI::System singleton created. (0042C4A0)
21/07/2010 00:05:20 (Std) ---- CEGUI System initialisation completed ----
21/07/2010 00:05:20 (Std)
21/07/2010 00:05:20 (Std) Started creation of Scheme from XML specification:
21/07/2010 00:05:20 (Std) ---- CEGUI GUIScheme name: WindowsLookSkin
21/07/2010 00:05:20 (Info) Finished creation of GUIScheme 'WindowsLookSkin' via XML file. (0043A400)
21/07/2010 00:05:20 (Info) ---- Begining resource loading for GUI scheme 'WindowsLookSkin' ----
21/07/2010 00:05:20 (Std) Started creation of Imageset from XML specification:
21/07/2010 00:05:20 (Std) ---- CEGUI Imageset name: WindowsLook
21/07/2010 00:05:20 (Std) ---- Source texture file: WindowsLook.tga in resource group: (Default)
And here is an screenshot from VS2010. http://img64.imageshack.us/img64/485/ceguierror.png
Error appears at line
Code: Select all
CEGUI::SchemeManager::getSingleton().create("WindowsLook.scheme");
I know that your forum is not a right place to submit this error.