Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173685

Summary: dev-games/OGRE 1.4 freeimage issues
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christoph Brill (egore) (RESIGNED) 2007-04-07 19:14:53 UTC
OGRE 1.4 has issues with freeimage from portage:

Running the demos throws several exceptions like these:

Error loading texture dirt01.jpg. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Unknown or unsupported image format in FreeImageCodec::decode at OgreFreeImageCodec.cpp (line 361)

Compiling the version fetched by portage and not applying freeimage-3.9.3-build.patch and putting it to /usr/local/ works fine. Some ideas that might cause this:
* freeimage-3.9.3-build.patch breaks freeimages
* /usr/local/ is hardcoded/expected somewhere in freeimage/OGRE

Reproducible: Always

Steps to Reproduce:
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2007-04-22 22:20:35 UTC
please test with freeimage-3.9.3-r1
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2007-04-24 16:27:34 UTC
...and reopen if that doesn't work 

thanks