For anybody on 64-bit getting errors about PNG textures

For anybody on 64-bit getting errors about PNG textures

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
nikosai
Posts: 6
Joined: 15 Apr 2006, 00:20

For anybody on 64-bit getting errors about PNG textures

Post 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.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

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

Post by YokoZar »

Hmm...Ubuntu Gutsy carries 1.6.7.

I haven't run into this error yet. Do no (popular) mods use PNG textures?
nikosai
Posts: 6
Joined: 15 Apr 2006, 00:20

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

Post 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.
osymandias
Posts: 10
Joined: 29 Sep 2008, 13:12

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

Post 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 :-)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

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

Post 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.
Post Reply

Return to “Linux”