[SOLVED] Problem loading PNG from an Imageset

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

sirbabyface
Just popping in
Just popping in
Posts: 8
Joined: Tue Jun 07, 2011 09:39
Location: Coimbra, Portugal

[SOLVED] Problem loading PNG from an Imageset

Postby sirbabyface » Tue Jun 14, 2011 12:38

I've project that uses CEGUI + Ogre + Qt. It is working if in the development machines. When using on a Virtual Machine (VBox) and in other computers (not all of them) I get an error.

What I get in the log file (last lines from the log show the problem):

Code: Select all

[13:16:00:017] [MainApplication::loadTranslations] Resource folder: "../Resources/"
[13:16:00:053] [MainApplication::loadTranslations] Translation: "default" loaded
[13:16:00:053] [MainApplication::loadSettings] "2.1.21.0"
[13:16:00:053] [CnotiSettings::CnotiSettings] "C:/Documents and Settings/Tiago Correia/Application Data/Imagina/LittleMozart_pt.ini"
[13:16:00:053] [CnotiSettings::contains] "Global" | "Version" | true
[13:16:00:053] [MainApplication::loadSettings] Global
[13:16:00:053] [MainApplication::loadSettings] "Ask Music Duration" = "0"
[13:16:00:053] [MainApplication::loadSettings] "Background Music Enabled" = "0.5"
[13:16:00:053] [MainApplication::loadSettings] "Background Music Volume" = "0.5"
[13:16:00:053] [MainApplication::loadSettings] "Exit" = "1"
[13:16:00:053] [MainApplication::loadSettings] "HelpTimes" = "-1"
[13:16:00:053] [MainApplication::loadSettings] "Initial State" = "0"
[13:16:00:053] [MainApplication::loadSettings] "Log" = "1"
[13:16:00:053] [MainApplication::loadSettings] "Mozart Speed" = "3"
[13:16:00:053] [MainApplication::loadSettings] "Music" = "1"
[13:16:00:053] [MainApplication::loadSettings] "Music Volume" = "0.7"
[13:16:00:053] [MainApplication::loadSettings] "Notes Representation" = "0"
[13:16:00:053] [MainApplication::loadSettings] "Random Animation Interval" = "20"
[13:16:00:053] [MainApplication::loadSettings] "Rules Mode" = "2"
[13:16:00:053] [MainApplication::loadSettings] "Sync Musics" = "No"
[13:16:00:053] [MainApplication::loadSettings] "Version" = "2.1.21.0"
[13:16:00:053] [MainApplication::loadSettings] "Voice" = "1"
[13:16:00:053] [MainApplication::loadSettings] "Voice Volume" = "1"
[13:16:00:053] [MainApplication::readRenderSystemSettings]
[13:16:00:053] [Cnoti3dQtOgre::initialise]
[13:16:00:053] [Cnoti3dQtOgre::initialise] 800 x 600
[13:16:00:053] [Cnoti3dQtOgre::initialise] QHash()
[13:16:00:062] [OGRE] Creating resource group General
[13:16:00:062] [OGRE] Creating resource group Internal
[13:16:00:062] [OGRE] Creating resource group Autodetect
[13:16:00:071] [OGRE] SceneManagerFactory for type 'DefaultSceneManager' registered.
[13:16:00:071] [OGRE] Registering ResourceManager for type Material
[13:16:00:071] [OGRE] Registering ResourceManager for type Mesh
[13:16:00:071] [OGRE] Registering ResourceManager for type Skeleton
[13:16:00:071] [OGRE] MovableObjectFactory for type 'ParticleSystem' registered.
[13:16:00:071] [OGRE] OverlayElementFactory for type Panel registered.
[13:16:00:071] [OGRE] OverlayElementFactory for type BorderPanel registered.
[13:16:00:071] [OGRE] OverlayElementFactory for type TextArea registered.
[13:16:00:071] [OGRE] Registering ResourceManager for type Font
[13:16:00:080] [OGRE] ArchiveFactory for archive type FileSystem registered.
[13:16:00:080] [OGRE] ArchiveFactory for archive type Zip registered.
[13:16:00:080] [OGRE] DDS codec registering
[13:16:00:080] [OGRE] FreeImage version: 3.13.1
[13:16:00:080] [OGRE] This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
[13:16:00:080] [OGRE] 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
[13:16:00:080] [OGRE] Registering ResourceManager for type HighLevelGpuProgram
[13:16:00:080] [OGRE] Registering ResourceManager for type Compositor
[13:16:00:089] [OGRE] MovableObjectFactory for type 'Entity' registered.
[13:16:00:089] [OGRE] MovableObjectFactory for type 'Light' registered.
[13:16:00:089] [OGRE] MovableObjectFactory for type 'BillboardSet' registered.
[13:16:00:089] [OGRE] MovableObjectFactory for type 'ManualObject' registered.
[13:16:00:089] [OGRE] MovableObjectFactory for type 'BillboardChain' registered.
[13:16:00:089] [OGRE] MovableObjectFactory for type 'RibbonTrail' registered.
[13:16:00:089] [OGRE] *-*-* OGRE Initialising
[13:16:00:089] [OGRE] *-*-* Version 1.7.2 (Cthugha)
[13:16:00:089] [OGRE] Loading library RenderSystem_GL
[13:16:00:125] [OGRE] Installing plugin: GL RenderSystem
[13:16:00:125] [OGRE] OpenGL Rendering Subsystem created.
[13:16:00:464] [OGRE] Plugin successfully installed
[13:16:00:464] [OGRE] Loading library RenderSystem_Direct3D9
[13:16:00:499] [OGRE] Installing plugin: D3D9 RenderSystem
[13:16:00:499] [OGRE] D3D9 : Direct3D9 Rendering Subsystem created.
[13:16:00:517] [OGRE] D3D9: Driver Detection Starts
[13:16:00:517] [OGRE] D3D9: Driver Detection Ends
[13:16:00:517] [OGRE] Plugin successfully installed
[13:16:00:517] [OgreWidget::OgreWidget] QHash(("VSync", "Yes"))
[13:16:00:517] [OgreWidget::OgreWidget] "VSync" : "Yes"
[13:16:00:517] [OGRE] CPU Identifier & Features
[13:16:00:517] [OGRE] -------------------------
[13:16:00:517] [OGRE]  *   CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
[13:16:00:517] [OGRE]  *      SSE: yes
[13:16:00:517] [OGRE]  *     SSE2: yes
[13:16:00:517] [OGRE]  *     SSE3: yes
[13:16:00:517] [OGRE]  *      MMX: yes
[13:16:00:517] [OGRE]  *   MMXEXT: yes
[13:16:00:517] [OGRE]  *    3DNOW: no
[13:16:00:517] [OGRE]  * 3DNOWEXT: no
[13:16:00:517] [OGRE]  *     CMOV: yes
[13:16:00:517] [OGRE]  *      TSC: yes
[13:16:00:517] [OGRE]  *      FPU: yes
[13:16:00:517] [OGRE]  *      PRO: yes
[13:16:00:517] [OGRE]  *       HT: no
[13:16:00:517] [OGRE] -------------------------
[13:16:00:517] [OGRE] *** Starting Win32GL Subsystem ***
[13:16:00:526] [OGRE] GLRenderSystem::_createRenderWindow "OgreWindow", 790x412 windowed  miscParams: externalWindowHandle=656476 
[13:16:00:847] [OGRE] GL_VERSION = 1.1.0
[13:16:00:847] [OGRE] GL_VENDOR = Microsoft Corporation
[13:16:00:847] [OGRE] GL_RENDERER = GDI Generic
[13:16:00:847] [OGRE] GL_EXTENSIONS = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
[13:16:00:847] [OGRE] ***************************
[13:16:00:847] [OGRE] *** GL Renderer Started ***
[13:16:00:847] [OGRE] ***************************
[13:16:00:847] [OGRE] Registering ResourceManager for type GpuProgram
[13:16:00:847] [OGRE] GL: Using framebuffer copy for rendering to textures (worst)
[13:16:00:847] [OGRE] GL: Warning: RenderTexture size is restricted to size of framebuffer. If you are on Linux, consider using GLX instead of SDL.
[13:16:00:847] [OGRE] RenderSystem capabilities
[13:16:00:847] [OGRE] -------------------------
[13:16:00:847] [OGRE] RenderSystem Name: OpenGL Rendering Subsystem
[13:16:00:847] [OGRE] GPU Vendor: unknown
[13:16:00:847] [OGRE] Device Name: GDI Generic
[13:16:00:847] [OGRE] Driver Version: 1.1.0.0
[13:16:00:847] [OGRE]  * Fixed function pipeline: yes
[13:16:00:847] [OGRE]  * Hardware generation of mipmaps: no
[13:16:00:847] [OGRE]  * Texture blending: no
[13:16:00:847] [OGRE]  * Anisotropic texture filtering: no
[13:16:00:847] [OGRE]  * Dot product texture operation: no
[13:16:00:847] [OGRE]  * Cube mapping: no
[13:16:00:847] [OGRE]  * Hardware stencil buffer: yes
[13:16:00:847] [OGRE]    - Stencil depth: 8
[13:16:00:847] [OGRE]    - Two sided stencil support: no
[13:16:00:847] [OGRE]    - Wrap stencil values: no
[13:16:00:847] [OGRE]  * Hardware vertex / index buffers: no
[13:16:00:847] [OGRE]  * Vertex programs: no
[13:16:00:847] [OGRE]  * Number of floating-point constants for vertex programs: 15
[13:16:00:847] [OGRE]  * Number of integer constants for vertex programs: 0
[13:16:00:847] [OGRE]  * Number of boolean constants for vertex programs: 0
[13:16:00:847] [OGRE]  * Fragment programs: no
[13:16:00:847] [OGRE]  * Number of floating-point constants for fragment programs: 0
[13:16:00:847] [OGRE]  * Number of integer constants for fragment programs: 0
[13:16:00:847] [OGRE]  * Number of boolean constants for fragment programs: 0
[13:16:00:847] [OGRE]  * Geometry programs: no
[13:16:00:847] [OGRE]  * Number of floating-point constants for geometry programs: 0
[13:16:00:847] [OGRE]  * Number of integer constants for geometry programs: 0
[13:16:00:847] [OGRE]  * Number of boolean constants for geometry programs: 0
[13:16:00:847] [OGRE]  * Supported Shader Profiles:
[13:16:00:847] [OGRE]  * Texture Compression: no
[13:16:00:847] [OGRE]  * Scissor Rectangle: yes
[13:16:00:847] [OGRE]  * Hardware Occlusion Query: no
[13:16:00:847] [OGRE]  * User clip planes: yes
[13:16:00:847] [OGRE]  * VET_UBYTE4 vertex element type: yes
[13:16:00:847] [OGRE]  * Infinite far plane projection: yes
[13:16:00:847] [OGRE]  * Hardware render-to-texture: no
[13:16:00:847] [OGRE]  * Floating point textures: no
[13:16:00:847] [OGRE]  * Non-power-of-two textures: no
[13:16:00:847] [OGRE]  * Volume textures: yes
[13:16:00:847] [OGRE]  * Multiple Render Targets: 1
[13:16:00:847] [OGRE]    - With different bit depths: no
[13:16:00:847] [OGRE]  * Point Sprites: no
[13:16:00:847] [OGRE]  * Extended point parameters: no
[13:16:00:847] [OGRE]  * Max Point Size: 10
[13:16:00:847] [OGRE]  * Vertex texture fetch: no
[13:16:00:847] [OGRE]  * Number of world matrices: 0
[13:16:00:847] [OGRE]  * Number of texture units: 1
[13:16:00:847] [OGRE]  * Stencil buffer depth: 8
[13:16:00:847] [OGRE]  * Number of vertex blend matrices: 0
[13:16:00:847] [OGRE]  * Render to Vertex Buffer : no
[13:16:00:847] [OGRE]  * GL 1.5 without VBO workaround: no
[13:16:00:847] [OGRE]  * Frame Buffer objects: no
[13:16:00:847] [OGRE]  * Frame Buffer objects (ARB extension): no
[13:16:00:847] [OGRE]  * Frame Buffer objects (ATI extension): no
[13:16:00:847] [OGRE]  * PBuffer support: no
[13:16:00:847] [OGRE]  * GL 1.5 without HW-occlusion workaround: no
[13:16:00:847] [OGRE] Registering ResourceManager for type Texture
[13:16:00:847] [OGRE] DefaultWorkQueue('Root') initialising on thread 00162670.
[13:16:00:847] [OGRE] Particle Renderer Type 'billboard' registered
[13:16:00:856] [OGRE] DefaultWorkQueue('Root')::WorkerFunc - thread 0016DFA0 starting.
[13:16:00:856] [CameraManager::setActiveCamera] 790 x 412
[13:16:00:892] [OGRE] Creating resource group GUI
[13:16:00:892] [OGRE] Added resource location '../Resources/fonts' of type 'FileSystem' to resource group 'GUI'
[13:16:00:901] [OGRE] Added resource location '../Resources/gui' of type 'FileSystem' to resource group 'GUI'
[13:16:00:901] [OGRE] Added resource location '../Resources/gui/images' of type 'FileSystem' to resource group 'GUI'
[13:16:00:963] [OGRE] Added resource location '../Resources/gui/images/pt' of type 'FileSystem' to resource group 'GUI'
[13:16:00:972] [OGRE] Added resource location '../Resources/models/band' of type 'FileSystem' to resource group 'General'
[13:16:00:972] [OGRE] Added resource location '../Resources/models/invento' of type 'FileSystem' to resource group 'General'
[13:16:00:981] [OGRE] Added resource location '../Resources/models/mozart' of type 'FileSystem' to resource group 'General'
[13:16:00:981] [OGRE] Added resource location '../Resources/models/mozart/durations' of type 'FileSystem' to resource group 'General'
[13:16:00:981] [OGRE] Added resource location '../Resources/models/sky' of type 'FileSystem' to resource group 'General'
[13:16:00:990] [OGRE] Added resource location '../Resources/textures' of type 'FileSystem' to resource group 'General'
[13:16:00:990] [OGRE] Added resource location '../Resources/textures/band' of type 'FileSystem' to resource group 'General'
[13:16:00:990] [OGRE] Added resource location '../Resources/textures/invento_in' of type 'FileSystem' to resource group 'General'
[13:16:00:999] [OGRE] Added resource location '../Resources/textures/invento_out' of type 'FileSystem' to resource group 'General'
[13:16:00:999] [OGRE] Added resource location '../Resources/textures/mozart' of type 'FileSystem' to resource group 'General'
[13:16:00:999] [OGRE] Parsing scripts for resource group Autodetect
[13:16:00:999] [OGRE] Finished parsing scripts for resource group Autodetect
[13:16:00:999] [OGRE] Parsing scripts for resource group GUI
[13:16:01:026] [OGRE] Finished parsing scripts for resource group GUI
[13:16:01:026] [OGRE] Parsing scripts for resource group General
[13:16:01:088] [OGRE] Parsing script band.material
[13:16:01:106] [OGRE] Parsing script efeito_flauta.material
[13:16:01:106] [OGRE] Compiler error: unknown error in efeito_flauta.material(33): token "#texture_alias" is not recognized
[13:16:01:115] [OGRE] Parsing script invento.material
[13:16:01:151] [OGRE] Parsing script porta.material
[13:16:01:160] [OGRE] Compiler error: fewer parameters expected in porta.material(13): texture_alias must have at most 1 argument
[13:16:01:160] [OGRE] Parsing script mozart.material
[13:16:01:160] [OGRE] Parsing script Mozart_Head02.material
[13:16:01:169] [OGRE] Compiler error: fewer parameters expected in Mozart_Head02.material(14): texture_alias must have at most 1 argument
[13:16:01:169] [OGRE] Compiler error: fewer parameters expected in Mozart_Head02.material(35): texture_alias must have at most 1 argument
[13:16:01:169] [OGRE] Compiler error: fewer parameters expected in Mozart_Head02.material(57): texture_alias must have at most 1 argument
[13:16:01:169] [OGRE] Compiler error: fewer parameters expected in Mozart_Head02.material(77): texture_alias must have at most 1 argument
[13:16:01:169] [OGRE] Compiler error: fewer parameters expected in Mozart_Head02.material(99): texture_alias must have at most 1 argument
[13:16:01:177] [OGRE] Parsing script sky.material
[13:16:01:177] [OGRE] Compiler error: fewer parameters expected in sky.material(14): texture_alias must have at most 1 argument
[13:16:01:177] [OGRE] Parsing script invento.overlay
[13:16:01:213] [OGRE] Texture: black.png: Loading 1 faces(PF_R8G8B8,16x16x1) with 4 generated mipmaps from Image. Internal format is PF_X8R8G8B8,16x16x1.
[13:16:01:213] [OGRE] Finished parsing scripts for resource group General
[13:16:01:213] [OGRE] Parsing scripts for resource group Internal
[13:16:01:213] [OGRE] Finished parsing scripts for resource group Internal
[13:16:01:231] [CEGUI] 
[13:16:01:231] [CEGUI] ********************************************************************************
[13:16:01:231] [CEGUI] * Important:                                                                   *
[13:16:01:231] [CEGUI] *     To get support at the CEGUI forums, you must post _at least_ the section *
[13:16:01:231] [CEGUI] *     of this log file indicated below.  Failure to do this will result in no  *
[13:16:01:231] [CEGUI] *     support being given; please do not waste our time.                       *
[13:16:01:231] [CEGUI] ********************************************************************************
[13:16:01:231] [CEGUI] ********************************************************************************
[13:16:01:231] [CEGUI] * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
[13:16:01:231] [CEGUI] ********************************************************************************
[13:16:01:231] [CEGUI] ---- Version 0.7.5 (Build: May 18 2011 Microsoft Windows MSVC++ 9.0 32 bit) ----
[13:16:01:231] [CEGUI] ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
[13:16:01:231] [CEGUI] ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
[13:16:01:231] [CEGUI] ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
[13:16:01:231] [CEGUI] ---- Scripting module is: None ----
[13:16:01:231] [CEGUI] ********************************************************************************
[13:16:01:231] [CEGUI] * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
[13:16:01:231] [CEGUI] ********************************************************************************
[13:16:01:231] [CEGUI] 
[13:16:01:231] [CEGUI] ---- Begining CEGUI System initialisation ----
[13:16:01:231] [CEGUI] CEGUI::ImagesetManager singleton created (014F8F78)
[13:16:01:231] [CEGUI] CEGUI::FontManager singleton created. (015153F0)
[13:16:01:231] [CEGUI] CEGUI::WindowFactoryManager singleton created
[13:16:01:231] [CEGUI] CEGUI::WindowManager singleton created (014FD130)
[13:16:01:231] [CEGUI] CEGUI::SchemeManager singleton created. (014C2E18)
[13:16:01:231] [CEGUI] CEGUI::MouseCursor singleton created. (014C87F0)
[13:16:01:231] [CEGUI] CEGUI::GlobalEventSet singleton created. (014F6880)
[13:16:01:231] [CEGUI] CEGUI::AnimationManager singleton created (014E17A8)
[13:16:01:231] [CEGUI] CEGUI::WidgetLookManager singleton created. (01519100)
[13:16:01:231] [CEGUI] CEGUI::WindowRendererManager singleton created (01519090)
[13:16:01:231] [CEGUI] CEGUI::RenderEffectManager singleton created (015190B8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'DefaultWindow' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'DefaultWindow' windows added. (0152D8D8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'DragContainer' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'DragContainer' windows added. (01539888)
[13:16:01:231] [CEGUI] Created WindowFactory for 'ScrolledContainer' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'ScrolledContainer' windows added. (01539930)
[13:16:01:231] [CEGUI] Created WindowFactory for 'ClippedContainer' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'ClippedContainer' windows added. (01539CB8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Checkbox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Checkbox' windows added. (0151E1C8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/PushButton' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/PushButton' windows added. (0151E3D8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/RadioButton' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/RadioButton' windows added. (0151E968)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Combobox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Combobox' windows added. (0151EC20)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ComboDropList' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ComboDropList' windows added. (0153D130)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Editbox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Editbox' windows added. (0153D460)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/FrameWindow' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/FrameWindow' windows added. (0153D508)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ItemEntry' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ItemEntry' windows added. (0151E538)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Listbox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Listbox' windows added. (0153DA20)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ListHeader' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ListHeader' windows added. (0153DAC8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0153DCE0)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Menubar' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Menubar' windows added. (0151D100)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/PopupMenu' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/PopupMenu' windows added. (00D1EE40)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/MenuItem' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/MenuItem' windows added. (0151D260)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/MultiColumnList' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/MultiColumnList' windows added. (0151D308)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0151D5A8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ProgressBar' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ProgressBar' windows added. (014CC2A8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ScrollablePane' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ScrollablePane' windows added. (0151D3B0)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Scrollbar' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Scrollbar' windows added. (0153DD88)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Slider' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Slider' windows added. (0153DE30)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Spinner' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Spinner' windows added. (0151DA20)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/TabButton' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/TabButton' windows added. (0151DCE8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/TabControl' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/TabControl' windows added. (0151DF00)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Thumb' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Thumb' windows added. (014FB1C8)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Titlebar' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Titlebar' windows added. (014FB270)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Tooltip' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Tooltip' windows added. (0151D878)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/ItemListbox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/ItemListbox' windows added. (014FB3D0)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/GroupBox' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/GroupBox' windows added. (014FB530)
[13:16:01:231] [CEGUI] Created WindowFactory for 'CEGUI/Tree' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'CEGUI/Tree' windows added. (014FB840)
[13:16:01:231] [CEGUI] Created WindowFactory for 'HorizontalLayoutContainer' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'HorizontalLayoutContainer' windows added. (014FB690)
[13:16:01:231] [CEGUI] Created WindowFactory for 'VerticalLayoutContainer' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'VerticalLayoutContainer' windows added. (014FB738)
[13:16:01:231] [CEGUI] Created WindowFactory for 'GridLayoutContainer' windows.
[13:16:01:231] [CEGUI] WindowFactory for 'GridLayoutContainer' windows added. (014FD1F8)
[13:16:01:231] [CEGUI] Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
[13:16:01:231] [CEGUI] CEGUI::System singleton created. (0152D1E0)
[13:16:01:231] [CEGUI] ---- CEGUI System initialisation completed ----
[13:16:01:231] [CEGUI] 
[13:16:01:258] [CEGUI] Started creation of Scheme from XML specification:
[13:16:01:258] [CEGUI] ---- CEGUI GUIScheme name: AquaLook
[13:16:01:258] [CEGUI] Finished creation of GUIScheme 'AquaLook' via XML file. (014FE060)
[13:16:01:258] [CEGUI] ---- Begining resource loading for GUI scheme 'AquaLook' ----
[13:16:01:276] [CEGUI] Started creation of Imageset from XML specification:
[13:16:01:276] [CEGUI] ---- CEGUI Imageset name: AquaLook
[13:16:01:276] [CEGUI] ---- Source texture file: AquaLook.png in resource group: (Default)
[13:16:01:329] [OGRE] Texture: _cegui_ogre_0: Loading 1 faces(PF_A8B8G8R8,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
[13:16:01:338] [CEGUI] Finished creation of Imageset 'AquaLook' via XML file. (01515CD8)
[13:16:01:356] [CEGUI] Started creation of Imageset from XML specification:
[13:16:01:356] [CEGUI] ---- CEGUI Imageset name: Staff
[13:16:01:356] [CEGUI] ---- Source texture file: staff.png in resource group: (Default)
[13:16:01:606] [OGRE] OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture _cegui_ogre_1 face 0 mipmap 0. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ..\..\..\..\..\RenderSystems\GL\src\OgreGLTexture.cpp (line 406)


[CEGUI] is the cegui log messages
[OGRE] is the ogre log messages
They are all in the same file.

The PNG file that is causing the exception is this:
http://files.imagina.pt/bugs/Staff.png

Strange is that the previous file AquaLook.png loads fine. The other file was added to the AquaLook.scheme file

Code: Select all

<Imageset Name="Staff" Filename="Staff.imageset" />
Last edited by sirbabyface on Tue Jun 14, 2011 13:40, edited 1 time in total.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Problem loading PNG from an Imageset

Postby Kulik » Tue Jun 14, 2011 12:45

Is the texture NPOT?

If other textures load fine this is my only idea. I report that CEGUI works fine for me inside a virtual box VM, including NPOT textures (using OpenGL).

sirbabyface
Just popping in
Just popping in
Posts: 8
Joined: Tue Jun 07, 2011 09:39
Location: Coimbra, Portugal

Re: Problem loading PNG from an Imageset

Postby sirbabyface » Tue Jun 14, 2011 12:57

The texture power of 2. But it is too big (1024x2048), so this might be the problem. I'll have to split the texture in 2 files.

I'll try and then post news.

sirbabyface
Just popping in
Just popping in
Posts: 8
Joined: Tue Jun 07, 2011 09:39
Location: Coimbra, Portugal

[SOLVED] Re: Problem loading PNG from an Imageset

Postby sirbabyface » Tue Jun 14, 2011 13:39

Previous problem solved, but now it stops when showing the QWidget. But that is another thread.

Thanks


Return to “Help”

Who is online

Users browsing this forum: No registered users and 3 guests