trilader
28-07-2010 19:18:39
Hi everyone,
I've just compiled MyGUI from SVN (R3144) using MinGW 4.4.1 and Ogre 1.7.1 with precompiled Ogre dependencies.
If I try to run any of the MyGUI demos I get a singleton error. The problem has been around since MyGUI started using singletons I belive and I want to use a newer version than 3.0.2...
I built MyGUI on a virtual machine with Windows XP with service pack 2.
Here is my MyGUI.log:
Ogre.log:
I don't know how to fix this error...
The gui and the layer manager get initialized fine, at least the log says so...
Thanks,
trilader
I've just compiled MyGUI from SVN (R3144) using MinGW 4.4.1 and Ogre 1.7.1 with precompiled Ogre dependencies.
If I try to run any of the MyGUI demos I get a singleton error. The problem has been around since MyGUI started using singletons I belive and I want to use a newer version than 3.0.2...
I built MyGUI on a virtual machine with Windows XP with service pack 2.
Here is my MyGUI.log:
20:09:57 | Core | Info | * Initialise: OgreRenderManager | C:\mygui-trunk\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 35
20:09:57 | Core | Info | OgreRenderManager successfully initialized | C:\mygui-trunk\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 63
20:09:57 | Core | Info | * Initialise: OgreDataManager | C:\mygui-trunk\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp | 28
20:09:57 | Core | Info | OgreDataManager successfully initialized | C:\mygui-trunk\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp | 32
20:09:57 | Core | Info | * Initialise: Gui | C:\mygui-trunk\MyGUIEngine\src\MyGUI_Gui.cpp | 74
20:09:57 | Core | Info | * MyGUI version 3.1.0 | C:\mygui-trunk\MyGUIEngine\src\MyGUI_Gui.cpp | 79
20:09:57 | Core | Info | * Initialise: ResourceManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 47
20:09:57 | Core | Info | ResourceManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 55
20:09:57 | Core | Info | * Initialise: LayerManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_LayerManager.cpp | 48
20:09:57 | Core | Info | LayerManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_LayerManager.cpp | 56
20:09:57 | Core | Info | * Initialise: WidgetManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_WidgetManager.cpp | 69
20:09:57 | Core | Info | WidgetManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_WidgetManager.cpp | 106
20:09:57 | Core | Info | * Initialise: InputManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_InputManager.cpp | 56
20:09:57 | Core | Info | InputManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_InputManager.cpp | 73
20:09:57 | Core | Info | * Initialise: SubWidgetManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_SubWidgetManager.cpp | 49
20:09:57 | Core | Info | SubWidgetManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_SubWidgetManager.cpp | 71
20:09:57 | Core | Info | * Initialise: SkinManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_SkinManager.cpp | 50
20:09:57 | Core | Info | SkinManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_SkinManager.cpp | 58
20:09:57 | Core | Info | * Initialise: FontManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_FontManager.cpp | 47
20:09:57 | Core | Info | FontManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_FontManager.cpp | 56
20:09:57 | Core | Info | * Initialise: ControllerManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ControllerManager.cpp | 45
20:09:57 | Core | Info | ControllerManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ControllerManager.cpp | 55
20:09:57 | Core | Info | * Initialise: PointerManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_PointerManager.cpp | 59
20:09:57 | Core | Info | PointerManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_PointerManager.cpp | 77
20:09:57 | Core | Info | * Initialise: ClipboardManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ClipboardManager.cpp | 86
20:09:57 | Core | Info | ClipboardManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ClipboardManager.cpp | 100
20:09:57 | Core | Info | * Initialise: LayoutManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_LayoutManager.cpp | 44
20:09:57 | Core | Info | LayoutManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_LayoutManager.cpp | 49
20:09:57 | Core | Info | * Initialise: DynLibManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_DynLibManager.cpp | 40
20:09:57 | Core | Info | DynLibManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_DynLibManager.cpp | 44
20:09:57 | Core | Info | * Initialise: PluginManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_PluginManager.cpp | 44
20:09:57 | Core | Info | PluginManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_PluginManager.cpp | 48
20:09:57 | Core | Info | * Initialise: LanguageManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_LanguageManager.cpp | 44
20:09:57 | Core | Info | LanguageManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_LanguageManager.cpp | 48
20:09:57 | Core | Info | * Initialise: FactoryManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_FactoryManager.cpp | 38
20:09:57 | Core | Info | FactoryManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_FactoryManager.cpp | 40
20:09:57 | Core | Info | * Initialise: ToolTipManager | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ToolTipManager.cpp | 46
20:09:57 | Core | Info | ToolTipManager successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ToolTipManager.cpp | 57
20:09:57 | Core | Info | Load ini file 'editor_theme.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:57 | Core | Info | Load ini file 'editor_language.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:57 | Core | Info | Load ini file 'core_font.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:57 | Core | Info | ResourceTrueTypeFont 'font_DejaVuSans.17' using texture size 512 x 256 | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceTrueTypeFont.cpp | 202
20:09:58 | Core | Info | ResourceTrueTypeFont 'font_DejaVuSans.17' using real height 17 pixels | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceTrueTypeFont.cpp | 203
20:09:58 | Core | Info | ResourceTrueTypeFont 'font_DejaVuSans.14' using texture size 256 x 256 | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceTrueTypeFont.cpp | 202
20:09:58 | Core | Info | ResourceTrueTypeFont 'font_DejaVuSans.14' using real height 14 pixels | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceTrueTypeFont.cpp | 203
20:09:58 | Core | Info | Load ini file 'core_resource.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Load ini file 'core_skin.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Load ini file 'core_pointer.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Load ini file 'editor_layer.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Load ini file 'editor_skin.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Load ini file 'editor_skin_helper.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Load ini file 'editor_settings.xml' | C:\mygui-trunk\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 122
20:09:58 | Core | Info | Gui successfully initialized | C:\mygui-trunk\MyGUIEngine\src\MyGUI_Gui.cpp | 124
20:09:58 | Core | Critical | Singleton instance LayerManager was not created | C:\mygui-trunk\MyGUIEngine\include/MyGUI_Singleton.h | 51
Ogre.log:
20:09:57: Creating resource group General
20:09:57: Creating resource group Internal
20:09:57: Creating resource group Autodetect
20:09:57: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:09:57: Registering ResourceManager for type Material
20:09:57: Registering ResourceManager for type Mesh
20:09:57: Registering ResourceManager for type Skeleton
20:09:57: MovableObjectFactory for type 'ParticleSystem' registered.
20:09:57: OverlayElementFactory for type Panel registered.
20:09:57: OverlayElementFactory for type BorderPanel registered.
20:09:57: OverlayElementFactory for type TextArea registered.
20:09:57: Registering ResourceManager for type Font
20:09:57: ArchiveFactory for archive type FileSystem registered.
20:09:57: ArchiveFactory for archive type Zip registered.
20:09:57: DDS codec registering
20:09:57: FreeImage version: 3.13.1
20:09:57: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
20:09:57: 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,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
20:09:57: Registering ResourceManager for type HighLevelGpuProgram
20:09:57: Registering ResourceManager for type Compositor
20:09:57: MovableObjectFactory for type 'Entity' registered.
20:09:57: MovableObjectFactory for type 'Light' registered.
20:09:57: MovableObjectFactory for type 'BillboardSet' registered.
20:09:57: MovableObjectFactory for type 'ManualObject' registered.
20:09:57: MovableObjectFactory for type 'BillboardChain' registered.
20:09:57: MovableObjectFactory for type 'RibbonTrail' registered.
20:09:57: Loading library .\RenderSystem_Direct3D9
20:09:57: Installing plugin: D3D9 RenderSystem
20:09:57: D3D9 : Direct3D9 Rendering Subsystem created.
20:09:57: D3D9: Driver Detection Starts
20:09:57: D3D9: Driver Detection Ends
20:09:57: Plugin successfully installed
20:09:57: Loading library .\RenderSystem_GL
20:09:57: Installing plugin: GL RenderSystem
20:09:57: OpenGL Rendering Subsystem created.
20:09:57: Plugin successfully installed
20:09:57: *-*-* OGRE Initialising
20:09:57: *-*-* Version 1.7.1 (Cthugha)
20:09:57: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/MyGUI_Media' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/Tools/LayoutEditor' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/Tools/LayoutEditor/Panels' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/Tools/LayoutEditor/Themes' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/Tools/LayoutEditor/Settings' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/Tools/LayoutEditor/CodeTemplates' of type 'FileSystem' to resource group 'General'
20:09:57: Added resource location '../../Media/Common/Wallpapers' of type 'FileSystem' to resource group 'General'
20:09:57: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
20:09:57: D3D9 : RenderSystem Option: FSAA = 0
20:09:57: D3D9 : RenderSystem Option: Floating-point mode = Fastest
20:09:57: D3D9 : RenderSystem Option: Full Screen = No
20:09:57: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-NVIDIA GeForce GTX 260
20:09:57: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
20:09:57: D3D9 : RenderSystem Option: VSync = No
20:09:57: D3D9 : RenderSystem Option: VSync Interval = 1
20:09:57: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
20:09:57: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
20:09:57: CPU Identifier & Features
20:09:57: -------------------------
20:09:57: * CPU ID: AuthenticAMD: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
20:09:57: * SSE: yes
20:09:57: * SSE2: yes
20:09:57: * SSE3: yes
20:09:57: * MMX: yes
20:09:57: * MMXEXT: yes
20:09:57: * 3DNOW: yes
20:09:57: * 3DNOWEXT: yes
20:09:57: * CMOV: yes
20:09:57: * TSC: yes
20:09:57: * FPU: yes
20:09:57: * PRO: yes
20:09:57: * HT: no
20:09:57: -------------------------
20:09:57: D3D9 : Subsystem Initialising
20:09:57: Registering ResourceManager for type Texture
20:09:57: Registering ResourceManager for type GpuProgram
20:09:57: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 800x600 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1
20:09:57: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
20:09:57: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT16_R
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT32_R
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT16_GR
20:09:57: D3D9: Vertex texture format supported - PF_FLOAT32_GR
20:09:57: RenderSystem capabilities
20:09:57: -------------------------
20:09:57: RenderSystem Name: Direct3D9 Rendering Subsystem
20:09:57: GPU Vendor: nvidia
20:09:57: Device Name: Monitor-1-NVIDIA GeForce GTX 260
20:09:57: Driver Version: 8.17.11.9562
20:09:57: * Fixed function pipeline: yes
20:09:57: * Hardware generation of mipmaps: yes
20:09:57: * Texture blending: yes
20:09:57: * Anisotropic texture filtering: yes
20:09:57: * Dot product texture operation: yes
20:09:57: * Cube mapping: yes
20:09:57: * Hardware stencil buffer: yes
20:09:57: - Stencil depth: 8
20:09:57: - Two sided stencil support: yes
20:09:57: - Wrap stencil values: yes
20:09:57: * Hardware vertex / index buffers: yes
20:09:57: * Vertex programs: yes
20:09:57: * Number of floating-point constants for vertex programs: 256
20:09:57: * Number of integer constants for vertex programs: 16
20:09:57: * Number of boolean constants for vertex programs: 16
20:09:57: * Fragment programs: yes
20:09:57: * Number of floating-point constants for fragment programs: 224
20:09:57: * Number of integer constants for fragment programs: 16
20:09:57: * Number of boolean constants for fragment programs: 16
20:09:57: * Geometry programs: no
20:09:57: * Number of floating-point constants for geometry programs: 514
20:09:57: * Number of integer constants for geometry programs: 35892
20:09:57: * Number of boolean constants for geometry programs: 514
20:09:57: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
20:09:57: * Texture Compression: yes
20:09:57: - DXT: yes
20:09:57: - VTC: no
20:09:57: - PVRTC: no
20:09:57: * Scissor Rectangle: yes
20:09:57: * Hardware Occlusion Query: yes
20:09:57: * User clip planes: yes
20:09:57: * VET_UBYTE4 vertex element type: yes
20:09:57: * Infinite far plane projection: yes
20:09:57: * Hardware render-to-texture: yes
20:09:57: * Floating point textures: yes
20:09:57: * Non-power-of-two textures: yes
20:09:57: * Volume textures: yes
20:09:57: * Multiple Render Targets: 4
20:09:57: - With different bit depths: yes
20:09:57: * Point Sprites: yes
20:09:57: * Extended point parameters: yes
20:09:57: * Max Point Size: 10
20:09:57: * Vertex texture fetch: yes
20:09:57: * Number of world matrices: 0
20:09:57: * Number of texture units: 8
20:09:57: * Stencil buffer depth: 8
20:09:57: * Number of vertex blend matrices: 0
20:09:57: - Max vertex textures: 4
20:09:57: - Vertex textures shared: no
20:09:57: * Render to Vertex Buffer : no
20:09:57: * DirectX per stage constants: yes
20:09:57: ***************************************
20:09:57: *** D3D9 : Subsystem Initialised OK ***
20:09:57: ***************************************
20:09:57: DefaultWorkQueue('Root') initialising on thread 0x2fdb30.
20:09:57: DefaultWorkQueue('Root')::WorkerFunc - thread 0x3dc450 starting.
20:09:57: Particle Renderer Type 'billboard' registered
20:09:57: Parsing scripts for resource group Autodetect
20:09:57: Finished parsing scripts for resource group Autodetect
20:09:57: Parsing scripts for resource group General
20:09:57: DefaultWorkQueue('Root')::WorkerFunc - thread 0x3dc480 starting.
20:09:57: Finished parsing scripts for resource group General
20:09:57: Parsing scripts for resource group Internal
20:09:57: Finished parsing scripts for resource group Internal
20:09:58: Texture: core_micro_font.PNG: Loading 1 faces(PF_A8R8G8B8,512x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x128x1.
20:09:58: Texture: core_black_orange.png: Loading 1 faces(PF_A8R8G8B8,1024x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x256x1.
20:09:58: Texture: progresstrack.png: Loading 1 faces(PF_A8R8G8B8,256x64x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x64x1.
20:09:58: Texture: core_debug.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
20:09:58: Texture: core_pointer.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
I don't know how to fix this error...
The gui and the layer manager get initialized fine, at least the log says so...
Thanks,
trilader