Question

I have a problem with libPNG, which is leading me to believe that I need a 64bit version of libPNG to run my application on a 64bit computer. The error is IMG_Load: Failed loading libpng15-15.dll: %1 is not a valid Win32 application. According to some other posts on this site, it is the fact that this is a 32bit DLL, is that the problem?

Was it helpful?

Solution

Yes, libpng works on 64-bit architectures, including x86_64.

It's an open-source library so you can compile it with your project if a precompiled binary isn't available for your platform/architecture.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top