Page 1 of 1

For anybody on 64-bit getting errors about PNG textures

Posted: 18 Jan 2008, 18:02
by nikosai
Update your version of devIL to 1.6.8-rc2 and rebuild spring. :) The stable version, 1.6.7 that some distros carry, has a bug specifically on x86_64 that causes PNG images not to load, and thus spring will error out while loading any mod that depends on PNG images, saying that the textures couldn't be loaded.

I just spent about the last 4 hours figuring that out. Eh. I don't suppose this will apply to many people anyway, but if it helps somebody out I'm happy.

Re: For anybody on 64-bit getting errors about PNG textures

Posted: 20 Jan 2008, 13:02
by YokoZar
Hmm...Ubuntu Gutsy carries 1.6.7.

I haven't run into this error yet. Do no (popular) mods use PNG textures?

Re: For anybody on 64-bit getting errors about PNG textures

Posted: 21 Jan 2008, 10:31
by nikosai
YokoZar wrote:Hmm...Ubuntu Gutsy carries 1.6.7.
Yeah, I think Ubuntu patch around it. I'm on arch, is all, and they haven't -- their 64-bit packages are low priority so nobody's probably noticed. Probably a lot of distros will have patched around the bug, I just figured if I ran into it, somebody else might and they'll search here and find something rather than nothing. :P

The bug's in the devIL tracker, and they closed it between 1.6.7 and 1.6.8-rc2. There was 32-bit specific code in the PNG handling sections that didn't run at all on 64-bit.

Re: For anybody on 64-bit getting errors about PNG textures

Posted: 29 Sep 2008, 20:15
by osymandias
nikosai wrote:I just spent about the last 4 hours figuring that out. Eh. I don't suppose this will apply to many people anyway, but if it helps somebody out I'm happy.
I've just spent most of today trying to resolve this, so you've made me very happy :-)

Re: For anybody on 64-bit getting errors about PNG textures

Posted: 29 Sep 2008, 21:58
by Tobi
YokoZar wrote:Hmm...Ubuntu Gutsy carries 1.6.7.

I haven't run into this error yet. Do no (popular) mods use PNG textures?
I recall running into the problem on Ubuntu (long time ago) and I think they indeed patched around it.