Code: Select all
25/06/2014 15:39:47 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
25/06/2014 15:39:47 (Std) ********************************************************************************
25/06/2014 15:39:47 (Std) ---- Version: 0.8.3 (Build: Jun 23 2014 Microsoft Windows g++ 4.8.1 32 bit) ----
25/06/2014 15:39:47 (Std) ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
25/06/2014 15:39:47 (Std) ---- XML Parser module is: CEGUI::RapidXMLParser - Official RapidXML based parser module for CEGUI ----
25/06/2014 15:39:47 (Std) ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
25/06/2014 15:39:47 (Std) ---- Scripting module is: None ----
25/06/2014 15:39:47 (Std) ********************************************************************************
25/06/2014 15:39:47 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
...
...
...
25/06/2014 15:39:48 (Error) CEGUI::InvalidRequestException in function 'CEGUI::Font& CEGUI::Font_xmlHandler::getObject() const' (Font_xmlHandler.cpp:107) : Attempt to access null object.
Here is the callstack just in case:
Code: Select all
#0 6424FF90 __cxa_throw() (E:\Ogre_SDK\bin\relwithdebinfo\libCEGUIBase-0.dll:??)
#1 64166906 CEGUI::Font_xmlHandler::getObject(this=this@entry=0x28e3d0) (Font_xmlHandler.cpp:106)
#2 6418C25C createFromFile(action=CEGUI::XREA_RETURN, resource_group=..., xml_filename=..., this=<optimized out>) (E:/libraries_etc/cegui/cegui-0.8.3/cegui/include/CEGUI/NamedXMLResourceManager.h:287)
#3 ?? CEGUI::Scheme::loadFonts (this=this@entry=0x12e2a320) (cegui-0.8.3\cegui\src\Scheme.cpp:210)
#4 6418C979 CEGUI::Scheme::loadResources(this=this@entry=0x12e2a320) (cegui-0.8.3\cegui\src\Scheme.cpp:106)
#5 6418CB45 CEGUI::SchemeManager::doPostObjectAdditionAction(this=<optimized out>, object=...) (E:\libraries_etc\cegui\cegui-0.8.3\cegui\src\SchemeManager.cpp:86)
#6 004602F5 CEGUI::NamedXMLResourceManager<CEGUI::Scheme, CEGUI::Scheme_xmlHandler>::doExistingObjectAction(this=0x560b530, object_name=..., object=0x12e2a320, action=CEGUI::XREA_RETURN) (E:/Ogre_SDK/include/CEGUI/NamedXMLResourceManager.h:425)
#7 0045FB08 CEGUI::NamedXMLResourceManager<CEGUI::Scheme, CEGUI::Scheme_xmlHandler>::createFromFile(this=0x560b530, xml_filename=..., resource_group=..., action=CEGUI::XREA_RETURN) (E:/Ogre_SDK/include/CEGUI/NamedXMLResourceManager.h:287)
#8 004038CB Knightforge::Application::InitCEGUI(this=0x28fdbc) (Application.cpp:180)
#9 00402464 Knightforge::Application::Execute(this=0x28fdbc) (Application.cpp:117)
#10 0040BB1A WinMain@16(hInst=0x400000, strCmdLine=0x2993667 "") (main.cpp:32)
#11 004CB04B main () (??:??)
So when I try to add <Font filename="*.ttf" /> to my GUIScheme file, I get this exception.
First I tried an OCRA font downloaded from http://sourceforge.net/projects/ocr-a-font/ and thought maybe it was a problem with the file, so I tried Junicode.ttf and batang.ttf and RichStyle.ttf from the included from the samples and the result is the same.
Any thoughts on what might be causing this? Maybe I am missing a dependency?