Ogre demos run fine for me. But when I run an ogre tutorial or my own app, I get this error:
Code: Select all
21:59:46: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at /home/an00bis/source/ogre/OgreMain/src/OgreCodec.cpp (line 62)
21:59:46: GLX backdrop image not found: Warning
I've read existing posts about this problem, but they were all irrelevant. The error was always caused by mixing two versions of OGRE, which ain't my case. I'm on Slackware13 and I did a clean install from source. I'm using ogre 1.6.4 with FreeImage. All details about my configuration are here.
I reproduced this error with ogre tutorials 1 and 6 and with my own test app, which doesn't use ExampleApplication.h. I also tried using absolute paths in resources.cfg (no effect).
My log:
Code: Select all
21:59:46: Creating resource group General
21:59:46: Creating resource group Internal
21:59:46: Creating resource group Autodetect
21:59:46: SceneManagerFactory for type 'DefaultSceneManager' registered.
21:59:46: Registering ResourceManager for type Material
21:59:46: Registering ResourceManager for type Mesh
21:59:46: Registering ResourceManager for type Skeleton
21:59:46: MovableObjectFactory for type 'ParticleSystem' registered.
21:59:46: OverlayElementFactory for type Panel registered.
21:59:46: OverlayElementFactory for type BorderPanel registered.
21:59:46: OverlayElementFactory for type TextArea registered.
21:59:46: Registering ResourceManager for type Font
21:59:46: ArchiveFactory for archive type FileSystem registered.
21:59:46: ArchiveFactory for archive type Zip registered.
21:59:46: FreeImage version: 3.11.0
21:59:46: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
21:59:46: 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
21:59:46: DDS codec registering
21:59:46: Registering ResourceManager for type HighLevelGpuProgram
21:59:46: Registering ResourceManager for type Compositor
21:59:46: MovableObjectFactory for type 'Entity' registered.
21:59:46: MovableObjectFactory for type 'Light' registered.
21:59:46: MovableObjectFactory for type 'BillboardSet' registered.
21:59:46: MovableObjectFactory for type 'ManualObject' registered.
21:59:46: MovableObjectFactory for type 'BillboardChain' registered.
21:59:46: MovableObjectFactory for type 'RibbonTrail' registered.
21:59:46: Loading library ./RenderSystem_GL_d
21:59:46: Installing plugin: GL RenderSystem
21:59:46: OpenGL Rendering Subsystem created.
21:59:46: Plugin successfully installed
21:59:46: Loading library ./Plugin_ParticleFX_d
21:59:46: Installing plugin: ParticleFX
21:59:46: Particle Emitter Type 'Point' registered
21:59:46: Particle Emitter Type 'Box' registered
21:59:46: Particle Emitter Type 'Ellipsoid' registered
21:59:46: Particle Emitter Type 'Cylinder' registered
21:59:46: Particle Emitter Type 'Ring' registered
21:59:46: Particle Emitter Type 'HollowEllipsoid' registered
21:59:46: Particle Affector Type 'LinearForce' registered
21:59:46: Particle Affector Type 'ColourFader' registered
21:59:46: Particle Affector Type 'ColourFader2' registered
21:59:46: Particle Affector Type 'ColourImage' registered
21:59:46: Particle Affector Type 'ColourInterpolator' registered
21:59:46: Particle Affector Type 'Scaler' registered
21:59:46: Particle Affector Type 'Rotator' registered
21:59:46: Particle Affector Type 'DirectionRandomiser' registered
21:59:46: Particle Affector Type 'DeflectorPlane' registered
21:59:46: Plugin successfully installed
21:59:46: Loading library ./Plugin_BSPSceneManager_d
21:59:46: Installing plugin: BSP Scene Manager
21:59:46: Plugin successfully installed
21:59:46: Loading library ./Plugin_CgProgramManager_d
21:59:46: Installing plugin: Cg Program Manager
21:59:46: Plugin successfully installed
21:59:46: Loading library ./Plugin_OctreeSceneManager_d
21:59:46: Installing plugin: Octree & Terrain Scene Manager
21:59:46: Plugin successfully installed
21:59:46: *-*-* OGRE Initialising
21:59:46: *-*-* Version 1.6.4 (Shoggoth)
21:59:46: Creating resource group Bootstrap
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/fonts' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/materials/programs' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/materials/scripts' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/models' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/overlays' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/particle' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/gui' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
21:59:46: Added resource location '/home/an00bis/source/ogre/Samples/Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
21:59:46: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at /home/an00bis/source/ogre/OgreMain/src/OgreCodec.cpp (line 62)
21:59:46: GLX backdrop image not found: Warning
21:59:49: *-*-* OGRE Shutdown
21:59:49: Unregistering ResourceManager for type Compositor
21:59:49: Unregistering ResourceManager for type Font
21:59:49: Unregistering ResourceManager for type Skeleton
21:59:49: Unregistering ResourceManager for type Mesh
21:59:49: Unregistering ResourceManager for type HighLevelGpuProgram
21:59:49: Uninstalling plugin: Octree & Terrain Scene Manager
21:59:49: Plugin successfully uninstalled
21:59:49: Unloading library ./Plugin_OctreeSceneManager_d
21:59:49: Uninstalling plugin: Cg Program Manager
21:59:49: Plugin successfully uninstalled
21:59:49: Unloading library ./Plugin_CgProgramManager_d
21:59:49: Uninstalling plugin: BSP Scene Manager
21:59:49: Plugin successfully uninstalled
21:59:49: Unloading library ./Plugin_BSPSceneManager_d
21:59:49: Uninstalling plugin: ParticleFX
21:59:49: Plugin successfully uninstalled
21:59:49: Unloading library ./Plugin_ParticleFX_d
21:59:49: Uninstalling plugin: GL RenderSystem
21:59:49: ******************************
*** Stopping GLX Subsystem ***
******************************
21:59:49: Plugin successfully uninstalled
21:59:49: Unloading library ./RenderSystem_GL_d
21:59:49: Unregistering ResourceManager for type Material