Can't load .layout

DarkHorizon

11-03-2009 04:05:06

Hello,

System:
Windows XP SP2
MSVC 2008, SP1
Ogre 1.6.1 SVN
MyGUI 2.2.0 prepackaged

Setup:
Compiled MyGUI successfully, linked to my app.
Copied contents of \Media\MyGUI_Media to my own app folder, pointed to in resources.cfg.
Removed reference of plugin.layout from core.xml.
Created a simple .layout file containing 1 window using MyGUI Editor:
<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout">
<Widget type="Window" skin="Window" position="512 304 304 224" align="ALIGN_HCENTER ALIGN_VCENTER" layer="Overlapped" name="wndDefault">
<Property key="Widget_Caption" value="Default"/>
</Widget>
</MyGUI>


Initialize:m_lpMyGUI = new MyGUI::Gui();
m_lpMyGUI->initialise(m_lpOgreRenderWindow);
m_lpMyGUI->load("test.layout");


Also triedMyGUI::LayoutManager::getInstance().load("test.layout");

Program crashes during LayoutManager::getInstance().load(). Stack trace:> OgreMain.dll!mspace_free(void * msp=0x00000000, void * mem=0x02d72cb0) Line 5170 + 0x10 bytes C++
OgreMain.dll!nedalloc::nedpfree(nedalloc::nedpool_t * p=0x00000000, void * mem=0x02d72cb0) Line 855 + 0x8 bytes C++
OgreMain.dll!Ogre::NedAllocImpl::deallocBytes(void * ptr=0x02d72cb0) Line 66 + 0x8 bytes C++
OgreMain.dll!Ogre::MemoryDataStream::~MemoryDataStream() Line 286 + 0x13 bytes C++
MyGUI.dll!Ogre::MemoryDataStream::`scalar deleting destructor'() + 0x10 bytes C++
MyGUI.dll!Ogre::SharedPtr<Ogre::DataStream>::destroy() Line 224 + 0x23 bytes C++
MyGUI.dll!Ogre::SharedPtr<Ogre::DataStream>::release() Line 213 C++
MyGUI.dll!Ogre::SharedPtr<Ogre::DataStream>::~SharedPtr<Ogre::DataStream>() Line 148 C++
MyGUI.dll!MyGUI::Font::loadResource(Ogre::Resource * res=0x0dfcddb0) Line 357 + 0x2b bytes C++
OgreMain.dll!Ogre::Resource::load(bool background=false) Line 158 C++
MyGUI.dll!MyGUI::Font::loadImpl() Line 77 C++
OgreMain.dll!Ogre::Resource::load(bool background=false) Line 189 C++
MyGUI.dll!MyGUI::EditText::setFontName(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _font="MyGUI_CoreFont.18") Line 252 C++
MyGUI.dll!MyGUI::Widget::setFontName(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _font="MyGUI_CoreFont.18") Line 291 C++
MyGUI.dll!MyGUI::Widget::Widget(const types::TCoord<int> & _coord={...}, unsigned char _align=0, MyGUI::WidgetSkinInfo * const _info=0x02d5e7d0, MyGUI::CroppedRectangleInterface * _parent=0x00000000, MyGUI::WidgetCreator * _creator=0x00d6395c, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _name="wndDefault") Line 84 C++
MyGUI.dll!MyGUI::Window::Window(const types::TCoord<int> & _coord={...}, unsigned char _align=0, MyGUI::WidgetSkinInfo * const _info=0x02d5e7d0, MyGUI::CroppedRectangleInterface * _parent=0x00000000, MyGUI::WidgetCreator * _creator=0x00d6395c, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _name="wndDefault") Line 36 + 0x52 bytes C++
MyGUI.dll!MyGUI::factory::WindowFactory::createWidget(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _skin="Window", const types::TCoord<int> & _coord={...}, unsigned char _align=0, MyGUI::CroppedRectangleInterface * _parent=0x00000000, MyGUI::WidgetCreator * _creator=0x00d6395c, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _name="wndDefault") Line 48 + 0x4b bytes C++
MyGUI.dll!MyGUI::WidgetManager::createWidget(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _type="Window", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _skin="Window", const types::TCoord<int> & _coord={...}, unsigned char _align=0, MyGUI::CroppedRectangleInterface * _parent=0x00000000, MyGUI::WidgetCreator * _creator=0x00d6395c, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _name="wndDefault") Line 117 + 0x3f bytes C++
MyGUI.dll!MyGUI::Gui::_createWidget(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _type="Window", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _skin="Window", const types::TCoord<int> & _coord={...}, unsigned char _align=0, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _layer="Overlapped", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _name="wndDefault") Line 186 + 0x3e bytes C++
MyGUI.dll!MyGUI::Gui::createWidgetT(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _type="Window", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _skin="Window", const types::TCoord<int> & _coord={...}, unsigned char _align=0, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _layer="Overlapped", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _name="wndDefault") Line 57 C++
MyGUI.dll!MyGUI::LayoutManager::parseWidget(std::vector<MyGUI::Widget *,std::allocator<MyGUI::Widget *> > & _widgets=[0](), MyGUI::xml::xmlNodeIterator & _widget={...}, MyGUI::Widget * _parent=0x00000000) Line 91 + 0x2e bytes C++
MyGUI.dll!MyGUI::LayoutManager::parseLayout(std::vector<MyGUI::Widget *,std::allocator<MyGUI::Widget *> > & _widgets=[0](), MyGUI::xml::xmlNode * _root=0x02d14200) Line 69 + 0x4e bytes C++
MyGUI.dll!MyGUI::LayoutManager::_load(MyGUI::xml::xmlNode * _node=0x02d14200, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _file="./media/gui/layouts/Odyssey.layout") Line 55 C++
MyGUI.dll!MyGUI::delegates::CMethodDelegate2<MyGUI::PluginManager,MyGUI::xml::xmlNode *,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &>::Invoke(MyGUI::xml::xmlNode * p1=0x02d14200, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & p2="./media/gui/layouts/Odyssey.layout") Line 51 + 0x1d bytes C++
MyGUI.dll!MyGUI::delegates::CDelegate2<MyGUI::Widget *,MyGUI::Widget *>::operator()(MyGUI::Widget * p1=0x02d14200, MyGUI::Widget * p2=0x0012fc90) Line 101 C++
MyGUI.dll!MyGUI::Gui::_loadImplement(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _file="Odyssey.layout", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _group="General", bool _match=false, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _type="", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _instance="Gui") Line 295 C++
MyGUI.dll!MyGUI::Gui::load(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _file="Odyssey.layout", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _group="General") Line 264 + 0x30 bytes C++
Client.exe!Odyssey::GUI::Initialize() Line 45 + 0x2c bytes C++
Client.exe!Odyssey::Visual::Initialize() Line 49 C++
Client.exe!Odyssey::Graphics::Initialize() Line 113 C++
Client.exe!Odyssey::Graphics::Graphics() Line 23 C++
Client.exe!___sse2_available_init() + 0x2299 bytes C++
Client.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * strCmdLine=0x00152366, int nCmdShow=1) Line 38 C++
Client.exe!__tmainCRTStartup() Line 578 + 0x1d bytes C
kernel32.dll!7c816ff7()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
MyGUI.dll!MyGUI::DynLibManager::initialise() Line 18 + 0x5e bytes C++
0a160a00()


If I skip loading a .layout, application launches fine, and even shows skin's mouse cursor.

MyGUI.log ----------------------------------------------------------------------------------------------------------------------------------
loging report for : 03/11/2009 00:03:50
----------------------------------------------------------------------------------------------------------------------------------

00:03:50 | General | Info | * Initialise: Gui | .\src\MyGUI_Gui.cpp | 41
00:03:50 | General | Info | * MyGUI version 2.2.0 | .\src\MyGUI_Gui.cpp | 45
00:03:50 | General | Info | Viewport : 1280 800 | .\src\MyGUI_Gui.cpp | 53
00:03:50 | General | Info | * Initialise: LayerManager | .\src\MyGUI_LayerManager.cpp | 26
00:03:50 | General | Info | LayerManager successfully initialized | .\src\MyGUI_LayerManager.cpp | 46
00:03:50 | General | Info | * Initialise: WidgetManager | .\src\MyGUI_WidgetManager.cpp | 42
00:03:50 | General | Info | * Register widget factory 'Widget' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Button' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Window' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'List' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'HScroll' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'VScroll' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Edit' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'ComboBox' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'StaticText' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Sheet' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Tab' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Progress' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'ItemBox' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'MultiList' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'StaticImage' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'Message' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'RenderBox' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'FooBar' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'PopupMenu' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | * Register widget factory 'MenuBar' | .\src\MyGUI_WidgetManager.cpp | 93
00:03:50 | General | Info | WidgetManager successfully initialized | .\src\MyGUI_WidgetManager.cpp | 68
00:03:50 | General | Info | * Initialise: InputManager | .\src\MyGUI_InputManager.cpp | 32
00:03:50 | General | Info | InputManager successfully initialized | .\src\MyGUI_InputManager.cpp | 53
00:03:50 | General | Info | * Initialise: SubWidgetManager | .\src\MyGUI_SubWidgetManager.cpp | 17
00:03:50 | General | Info | SubWidgetManager successfully initialized | .\src\MyGUI_SubWidgetManager.cpp | 33
00:03:50 | General | Info | * Initialise: SkinManager | .\src\MyGUI_SkinManager.cpp | 26
00:03:50 | General | Info | SkinManager successfully initialized | .\src\MyGUI_SkinManager.cpp | 46
00:03:50 | General | Info | * Initialise: FontManager | .\src\MyGUI_FontManager.cpp | 24
00:03:50 | General | Info | FontManager successfully initialized | .\src\MyGUI_FontManager.cpp | 28
00:03:50 | General | Info | * Initialise: ControllerManager | .\src\MyGUI_ControllerManager.cpp | 20
00:03:50 | General | Info | ControllerManager successfully initialized | .\src\MyGUI_ControllerManager.cpp | 24
00:03:50 | General | Info | * Initialise: PointerManager | .\src\MyGUI_PointerManager.cpp | 24
00:03:50 | General | Info | PointerManager successfully initialized | .\src\MyGUI_PointerManager.cpp | 33
00:03:50 | General | Info | * Initialise: ClipboardManager | .\src\MyGUI_ClipboardManager.cpp | 19
00:03:50 | General | Info | ClipboardManager successfully initialized | .\src\MyGUI_ClipboardManager.cpp | 26
00:03:50 | General | Info | * Initialise: LayoutManager | .\src\MyGUI_LayoutManager.cpp | 25
00:03:50 | General | Info | LayoutManager successfully initialized | .\src\MyGUI_LayoutManager.cpp | 30
00:03:50 | General | Info | * Initialise: DynLibManager | .\src\MyGUI_DynLibManager.cpp | 18
00:03:50 | General | Info | DynLibManager successfully initialized | .\src\MyGUI_DynLibManager.cpp | 20
00:03:50 | General | Info | * Initialise: PluginManager | .\src\MyGUI_PluginManager.cpp | 21
00:03:50 | General | Info | PluginManager successfully initialized | .\src\MyGUI_PluginManager.cpp | 25
00:03:50 | General | Info | Load ini file 'core.lang' from resource group : General | .\src\MyGUI_Gui.cpp | 335
00:03:50 | General | Info | Load ini file 'core.layer' from resource group : General | .\src\MyGUI_Gui.cpp | 335
00:03:50 | General | Info | Load ini file 'core.skin' from resource group : General | .\src\MyGUI_Gui.cpp | 335
00:03:51 | General | Info | Load ini file 'core.font' from resource group : General | .\src\MyGUI_Gui.cpp | 335
00:03:51 | General | Info | Load ini file 'core.pointer' from resource group : General | .\src\MyGUI_Gui.cpp | 335
00:03:51 | General | Info | Gui successfully initialized | .\src\MyGUI_Gui.cpp | 91
00:03:51 | General | Info | Font 'MyGUI_CoreFont.18' using texture size 1024 x 128 | .\src\MyGUI_Font.cpp | 167


Ogre.log00:03:42: Creating resource group General
00:03:42: Creating resource group Internal
00:03:42: Creating resource group Autodetect
00:03:42: SceneManagerFactory for type 'DefaultSceneManager' registered.
00:03:42: Registering ResourceManager for type Material
00:03:42: Registering ResourceManager for type Mesh
00:03:42: Registering ResourceManager for type Skeleton
00:03:42: MovableObjectFactory for type 'ParticleSystem' registered.
00:03:42: OverlayElementFactory for type Panel registered.
00:03:42: OverlayElementFactory for type BorderPanel registered.
00:03:42: OverlayElementFactory for type TextArea registered.
00:03:42: Registering ResourceManager for type Font
00:03:42: ArchiveFactory for archive type FileSystem registered.
00:03:42: ArchiveFactory for archive type Zip registered.
00:03:42: FreeImage version: 3.10.0
00:03:42: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
00:03:42: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
00:03:42: DDS codec registering
00:03:42: Registering ResourceManager for type HighLevelGpuProgram
00:03:42: Registering ResourceManager for type Compositor
00:03:42: MovableObjectFactory for type 'Entity' registered.
00:03:42: MovableObjectFactory for type 'Light' registered.
00:03:42: MovableObjectFactory for type 'BillboardSet' registered.
00:03:42: MovableObjectFactory for type 'ManualObject' registered.
00:03:42: MovableObjectFactory for type 'BillboardChain' registered.
00:03:42: MovableObjectFactory for type 'RibbonTrail' registered.
00:03:42: *-*-* OGRE Initialising
00:03:42: *-*-* Version 1.6.1 (Shoggoth)
00:03:42: Loading library Plugin_CgProgramManager
00:03:42: Installing plugin: Cg Program Manager
00:03:42: Plugin successfully installed
00:03:42: Loading library Plugin_OctreeSceneManager
00:03:42: Installing plugin: Octree & Terrain Scene Manager
00:03:42: Plugin successfully installed
00:03:42: Loading library RenderSystem_GL
00:03:42: Installing plugin: GL RenderSystem
00:03:42: OpenGL Rendering Subsystem created.
00:03:42: Plugin successfully installed
00:03:42: CPU Identifier & Features
00:03:42: -------------------------
00:03:42: * CPU ID: AuthenticAMD: AMD Sempron(tm) 2300+
00:03:42: * SSE: yes
00:03:42: * SSE2: no
00:03:42: * SSE3: no
00:03:42: * MMX: yes
00:03:42: * MMXEXT: yes
00:03:42: * 3DNOW: yes
00:03:42: * 3DNOWEXT: yes
00:03:42: * CMOV: yes
00:03:42: * TSC: yes
00:03:42: * FPU: yes
00:03:42: * PRO: yes
00:03:42: * HT: no
00:03:42: -------------------------
00:03:42: *** Starting Win32GL Subsystem ***
00:03:42: GLRenderSystem::_createRenderWindow "Odyssey", 1280x800 windowed miscParams:
00:03:42: Created Win32Window 'Odyssey' : 1280x800, 32bpp
00:03:42: GL_VERSION = 2.1.2
00:03:42: GL_VENDOR = NVIDIA Corporation
00:03:42: GL_RENDERER = GeForce 7600 GS/AGP/SSE/3DNOW!
00:03:42: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control
00:03:42: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT_swap_control WGL_NV_float_buffer WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle
00:03:42: ***************************
00:03:42: *** GL Renderer Started ***
00:03:42: ***************************
00:03:42: Registering ResourceManager for type GpuProgram
00:03:42: GLSL support detected
00:03:42: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
00:03:42: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: FBO PF_SHORT_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
00:03:43: [GL] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_SHORT_RGB
00:03:43: RenderSystem capabilities
00:03:43: -------------------------
00:03:43: RenderSystem Name: OpenGL Rendering Subsystem
00:03:43: GPU Vendor: nvidia
00:03:43: Device Name: GeForce 7600 GS/AGP/SSE/3DNOW!
00:03:43: Driver Version: 2.1.2.0
00:03:43: * Fixed function pipeline: yes
00:03:43: * Hardware generation of mipmaps: yes
00:03:43: * Texture blending: yes
00:03:43: * Anisotropic texture filtering: yes
00:03:43: * Dot product texture operation: yes
00:03:43: * Cube mapping: yes
00:03:43: * Hardware stencil buffer: yes
00:03:43: - Stencil depth: 8
00:03:43: - Two sided stencil support: yes
00:03:43: - Wrap stencil values: yes
00:03:43: * Hardware vertex / index buffers: yes
00:03:43: * Vertex programs: yes
00:03:43: * Fragment programs: yes
00:03:43: * Geometry programs: no
00:03:43: * Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl vp30 vp40
00:03:43: * Texture Compression: yes
00:03:43: - DXT: yes
00:03:43: - VTC: yes
00:03:43: * Scissor Rectangle: yes
00:03:43: * Hardware Occlusion Query: yes
00:03:43: * User clip planes: yes
00:03:43: * VET_UBYTE4 vertex element type: yes
00:03:43: * Infinite far plane projection: yes
00:03:43: * Hardware render-to-texture: yes
00:03:43: * Floating point textures: yes
00:03:43: * Non-power-of-two textures: yes
00:03:43: * Volume textures: yes
00:03:43: * Multiple Render Targets: 4
00:03:43: - With different bit depths: yes
00:03:43: * Point Sprites: yes
00:03:43: * Extended point parameters: yes
00:03:43: * Max Point Size: 63.375
00:03:43: * Vertex texture fetch: yes
00:03:43: - Max vertex textures: 4
00:03:43: - Vertex textures shared: yes
00:03:43: * Render to Vertex Buffer : no
00:03:43: * GL 1.5 without VBO workaround: no
00:03:43: * Frame Buffer objects: yes
00:03:43: * Frame Buffer objects (ARB extension): no
00:03:43: * Frame Buffer objects (ATI extension): no
00:03:43: * PBuffer suppport: no
00:03:43: * GL 1.5 without HW-occlusion workaround: no
00:03:43: Registering ResourceManager for type Texture
00:03:43: ResourceBackgroundQueue - threading disabled
00:03:43: Particle Renderer Type 'billboard' registered
00:03:43: SceneManagerFactory for type 'OctreeSceneManager' registered.
00:03:43: SceneManagerFactory for type 'TerrainSceneManager' registered.
00:03:43: Added resource location 'c:\windows\fonts' of type 'FileSystem' to resource group 'General'
00:03:43: Creating resource group Bootstrap
00:03:43: Added resource location './media/core' of type 'FileSystem' to resource group 'Bootstrap'
00:03:43: Added resource location './media' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/music' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/sounds' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/textures' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/textures/sky' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/fringe' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/material' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/meshes' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/meshes/trees' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/overlays' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/scenes' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/sky' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/terrain' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/terrain/export' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/terrain/export/Media' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/gui' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/gui/fonts' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/gui/themes' of type 'FileSystem' to resource group 'General'
00:03:43: Added resource location './media/gui/layouts' of type 'FileSystem' to resource group 'General'
00:03:43: Creating resource group Hydrax
00:03:43: Added resource location './media/water' of type 'FileSystem' to resource group 'Hydrax'
00:03:43: Parsing scripts for resource group Autodetect
00:03:43: Finished parsing scripts for resource group Autodetect
00:03:43: Parsing scripts for resource group Bootstrap
00:03:43: Parsing script OgreCore.material
00:03:43: Parsing script OgreProfiler.material
00:03:43: Parsing script Ogre.fontdef
00:03:43: Parsing script OgreLoadingPanel.overlay
00:03:44: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 8 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
00:03:44: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
00:03:44: Font BlueHighwayusing texture size 512x512
00:03:44: Info: Freetype returned null for character 127 in font BlueHighway
00:03:44: Info: Freetype returned null for character 128 in font BlueHighway
00:03:44: Info: Freetype returned null for character 129 in font BlueHighway
00:03:44: Info: Freetype returned null for character 130 in font BlueHighway
00:03:44: Info: Freetype returned null for character 131 in font BlueHighway
00:03:44: Info: Freetype returned null for character 132 in font BlueHighway
00:03:44: Info: Freetype returned null for character 133 in font BlueHighway
00:03:44: Info: Freetype returned null for character 134 in font BlueHighway
00:03:44: Info: Freetype returned null for character 135 in font BlueHighway
00:03:44: Info: Freetype returned null for character 136 in font BlueHighway
00:03:44: Info: Freetype returned null for character 137 in font BlueHighway
00:03:44: Info: Freetype returned null for character 138 in font BlueHighway
00:03:44: Info: Freetype returned null for character 139 in font BlueHighway
00:03:44: Info: Freetype returned null for character 140 in font BlueHighway
00:03:44: Info: Freetype returned null for character 141 in font BlueHighway
00:03:44: Info: Freetype returned null for character 142 in font BlueHighway
00:03:44: Info: Freetype returned null for character 143 in font BlueHighway
00:03:44: Info: Freetype returned null for character 144 in font BlueHighway
00:03:44: Info: Freetype returned null for character 145 in font BlueHighway
00:03:44: Info: Freetype returned null for character 146 in font BlueHighway
00:03:44: Info: Freetype returned null for character 147 in font BlueHighway
00:03:44: Info: Freetype returned null for character 148 in font BlueHighway
00:03:44: Info: Freetype returned null for character 149 in font BlueHighway
00:03:44: Info: Freetype returned null for character 150 in font BlueHighway
00:03:44: Info: Freetype returned null for character 151 in font BlueHighway
00:03:44: Info: Freetype returned null for character 152 in font BlueHighway
00:03:44: Info: Freetype returned null for character 153 in font BlueHighway
00:03:44: Info: Freetype returned null for character 154 in font BlueHighway
00:03:44: Info: Freetype returned null for character 155 in font BlueHighway
00:03:44: Info: Freetype returned null for character 156 in font BlueHighway
00:03:44: Info: Freetype returned null for character 157 in font BlueHighway
00:03:44: Info: Freetype returned null for character 158 in font BlueHighway
00:03:44: Info: Freetype returned null for character 159 in font BlueHighway
00:03:44: Info: Freetype returned null for character 160 in font BlueHighway
00:03:44: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
00:03:44: Parsing script OgreDebugPanel.overlay
00:03:44: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
00:03:44: Finished parsing scripts for resource group Bootstrap
00:03:44: Parsing scripts for resource group General
00:03:44: Parsing script DepthRender.program
00:03:44: Parsing script MinimalCompositorVP.program
00:03:44: Parsing script GroundFog.program
00:03:44: Parsing script Haze.program
00:03:44: Parsing script water.material
00:03:44: Parsing script grass.material
00:03:44: Parsing script forge.material
00:03:44: Parsing script broadsword.material
00:03:44: Parsing script house_3storey_plaster_tile.material
00:03:44: Parsing script house_shed.material
00:03:44: Parsing script house_1storey_barn.material
00:03:44: Parsing script longsword.material
00:03:44: Parsing script house_1storey_stone.material
00:03:44: Parsing script fader.material
00:03:44: Parsing script water_trough.material
00:03:44: Parsing script anvil_block.material
00:03:44: Parsing script house_1storey_brick.material
00:03:44: Parsing script handaxe.material
00:03:44: Parsing script ninja.material
00:03:44: Parsing script house_4storey_plaster_thatch.material
00:03:44: Parsing script oven.material
00:03:44: Parsing script dagger.material
00:03:44: Parsing script house_3storey_plaster.material
00:03:44: Parsing script anvil.material
00:03:44: Parsing script house_1storey_storehouse.material
00:03:44: Parsing script house_4storey_plaster.material
00:03:44: Parsing script dagger1.material
00:03:44: Parsing script house_4storey_plaster_tile.material
00:03:44: Parsing script water.material
00:03:44: Parsing script fir.material
00:03:44: Parsing script FantasyTree5.material
00:03:44: Parsing script FantasyTree1.material
00:03:44: Parsing script FantasyFoilage2.material
00:03:44: Parsing script FantasyFoilage1.material
00:03:44: Parsing script FantasyTree3.material
00:03:44: Parsing script 3d-diggers_fir.material
00:03:44: Parsing script FantasyTree4.material
00:03:44: Parsing script FantasyTree2.material
00:03:44: Parsing script moon.material
00:03:44: Parsing script Starfield.material
00:03:44: Parsing script PointStarfield.material
00:03:44: Parsing script SkyDome.material
00:03:44: Parsing script GroundFog.material
00:03:44: Parsing script Sun.material
00:03:44: Parsing script Precipitation.material
00:03:44: Parsing script LayeredClouds.material
00:03:44: Parsing script DepthComposer.material
00:03:44: Parsing script terrain_lo.material
00:03:44: Parsing script terrain_med.material
00:03:44: Parsing script terrain_hi.material
00:03:44: Parsing script Precipitation.compositor
00:03:44: Parsing script DepthComposer.compositor
00:03:44: Parsing script fader.overlay
00:03:44: Texture: fader.png: Loading 1 faces(PF_R8G8B8,1x1x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1x1x1.
00:03:44: Finished parsing scripts for resource group General
00:03:44: Parsing scripts for resource group Hydrax
00:03:44: Parsing script water.material
00:03:44: Finished parsing scripts for resource group Hydrax
00:03:44: Parsing scripts for resource group Internal
00:03:44: Finished parsing scripts for resource group Internal
00:03:44: TerrainSceneManager: Registered a new PageSource for type Heightmap
00:03:44: Caelum: Initialising Caelum system...
00:03:44: Caelum: Plugin not installed; installing now.
00:03:44: Caelum plugin version 0.5.0 installed
00:03:44: Registering ResourceManager for type PropertyScript
00:03:44: Caelum: Creating required internal resource group 'Caelum'
00:03:44: Creating resource group Caelum
00:03:44: Caelum: Creating caelum sub-components.
00:03:44: Texture: EarthClearSky2.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
00:03:44: Texture: AtmosphereDepth.png: Loading 1 faces(PF_R8G8B8,32x1x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,32x1x1.
00:03:44: Caelum: Creating CaelumSphericDome sphere mesh resource...
00:03:44: Caelum: generateSphericDome DONE
00:03:44: Texture: sun_disc.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
00:03:44: Texture: noise1.dds: Loading 1 faces(PF_DXT1,256x256x1) with 8 custom mipmaps from Image. Internal format is PF_DXT1,256x256x1.
00:03:44: Texture: noise2.dds: Loading 1 faces(PF_DXT1,256x256x1) with 8 custom mipmaps from Image. Internal format is PF_DXT1,256x256x1.
00:03:44: Texture: noise4.dds: Loading 1 faces(PF_DXT1,256x256x1) with 8 custom mipmaps from Image. Internal format is PF_DXT1,256x256x1.
00:03:44: Caelum: DONE initializing
00:03:44: Texture: 512_Water.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
00:03:44: TerrainSceneManager: Activated PageSource Heightmap
00:03:46: Texture: 2048_ColorMap.png: Loading 1 faces(PF_A8R8G8B8,2048x2048x1) with 11 generated mipmaps from Image. Internal format is PF_A8R8G8B8,2048x2048x1.
00:03:47: Texture: 2048_Detail_Dark.png: Loading 1 faces(PF_A8R8G8B8,2048x2048x1) with 11 generated mipmaps from Image. Internal format is PF_A8R8G8B8,2048x2048x1.
00:03:47: Texture: 1024_Grass_2.png: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
00:03:47: Texture: Alpha_Grass.png: Loading 1 faces(PF_A8R8G8B8,2048x2048x1) with 11 generated mipmaps from Image. Internal format is PF_A8R8G8B8,2048x2048x1.
00:03:48: Texture: Cobble.bmp: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
00:03:48: Texture: Alpha_Cobble.png: Loading 1 faces(PF_A8R8G8B8,2048x2048x1) with 11 generated mipmaps from Image. Internal format is PF_A8R8G8B8,2048x2048x1.
00:03:51: Texture: core.png: Loading 1 faces(PF_A8R8G8B8,1024x256x1) with 10 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x256x1.
00:03:51: Texture: MyGUI_CoreFont.18_Texture: Loading 1 faces(PF_BYTE_LA,1024x128x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,1024x128x1


Incidentally, compiling the SVN version results in the following, hence why I'm currently working with the prepackaged version.------ Build started: Project: MyGUIEngine, Configuration: Release Win32 ------
Compiling...
MyGUI_Precompiled.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xstring(133) : fatal error C1085: Cannot write precompiled header file: 'obj\Release\MyGUI.pch': Insufficient system resources exist to complete the requested service.
Build log was saved at "file://u:\Development\API\OgreSVN\addons\MyGUI\MyGUIEngine\obj\Release\BuildLog.htm"
MyGUIEngine - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Any help is appreciated!

Altren

11-03-2009 13:36:16

Crash that you have was fixed long time ago. It happens because when we released 2.2_RC1 there wasn't Ogre 1.6 and your crash happens only with Ogre 1.6 and old gui.

About compiling error from trunk: read last post there http://social.msdn.microsoft.com/Forums ... f61bfb556/
looks like your system do something wrong.

DarkHorizon

11-03-2009 13:46:53

Thanks, but I've tried all those suggestions (rebooted, increased /Zm200 all the way up to /Zm1000, I'm not compiling over a network, and I'm using VS2008). I'm not sure dividing MyGUI into different modules would work (as I have compiled Ogre which generates a .pch of 36mb, MyGUI's .pch dies around 3mb).

I'll keep at it and post here if I find a fix. Any further help is certainly appreciated!

Five_stars

11-03-2009 13:58:56

And upload MyGUI from our SVN-trunk :) .

Altren

11-03-2009 20:32:56

By the way, you always can disable precompiled headers: Configuration Properties -> C/C++ -> Precompiled Headers -> set Not Using Precompiled Headers