Unable to load DDS files under Linux.
Posted: Thu Jun 10, 2010 3:18 pm
Hi,
I need to load (and also save, eventually, but for now I just want to load) DDS files (DXT5 in fact). I'm developing this application in order to work under Linux and Windows, both in 32 and 64 bit.
I have already separated all binary libs for each architecture/OS, all downloaded from the GFL SDK download page, and they all share the same include directory. Everything compiles fine, the application works well, until I load a DDS/DXT5 file under linux. Under win64 it works as expected, but when I call gflLoadBitmap() under linux, it returns an error ("unable to load file" or similar, I can't check right now). I checked if dds is supported (checking all available formats using gflGetFormatNameByIndex() with gflGetNumberOfFormat()), and it turns out DDS is supported under Windows but not Linux, despite what the available formats page says (it doesn't say it's Windows only).
What's wrong then? Is DDS actually not supported under Linux? Maybe the files available to download aren't currently correct?
Otherwise, in order to share some code, I can try to create a very simple application that works under Windows but not Linux, since my application is very big.
Thanks for any help!
I need to load (and also save, eventually, but for now I just want to load) DDS files (DXT5 in fact). I'm developing this application in order to work under Linux and Windows, both in 32 and 64 bit.
I have already separated all binary libs for each architecture/OS, all downloaded from the GFL SDK download page, and they all share the same include directory. Everything compiles fine, the application works well, until I load a DDS/DXT5 file under linux. Under win64 it works as expected, but when I call gflLoadBitmap() under linux, it returns an error ("unable to load file" or similar, I can't check right now). I checked if dds is supported (checking all available formats using gflGetFormatNameByIndex() with gflGetNumberOfFormat()), and it turns out DDS is supported under Windows but not Linux, despite what the available formats page says (it doesn't say it's Windows only).
What's wrong then? Is DDS actually not supported under Linux? Maybe the files available to download aren't currently correct?
Otherwise, in order to share some code, I can try to create a very simple application that works under Windows but not Linux, since my application is very big.
Thanks for any help!