effekseer / Effekseer

MIT License
1.49k stars 219 forks source link

Linux compilation: libpng error: IDAT #1022

Closed perroboc closed 2 months ago

perroboc commented 2 months ago

After building with GCC14, I get the following errors

$ ./Dev/release/Effekseer
libpng error: IDAT: unknown compression method
libpng error: IDAT: incorrect header check
libpng error: IDAT: unknown compression method
libpng error: IDAT: unknown compression method
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
libpng error: IDAT: incorrect header check
Effekseer: /builddir/build/BUILD/glfw-3.3.10/src/window.c:500: glfwSetWindowIcon: Assertion `images[i].pixels != NULL' failed.
Aborted (core dumped)
perroboc commented 2 months ago

Seems you're using a fixed libpng version. Fedora migrated from zlib to zlib-ng, and seems that's not compatible with your libpng code? I might be wrong, though...

perroboc commented 2 months ago

Wasn't compiling with the libpng provided by Effekseer. Closing through #1023