Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Owen Swerkstrom in order to build SDL2_image, I had to edit IMG_png.c and change: /* Check for the older version of libpng */ #if (PNG_LIBPNG_VER_MAJOR == 1) #if (PNG_LIBPNG_VER_MINOR < 4) ...to: /* Check for the older version of libpng */ #if (PNG_LIBPNG_VER_MAJOR == 1) #if (PNG_LIBPNG_VER_MINOR < 5) ...since my installed 1.4.x version doesn't have "png_const_bytep" defined, I'm guessing that's a 1.5.x thing. This is probably not a very "correct" fix, but it got me running. I run a fairly stock Slackware 14.0, 64-bit. LibPNG 1.4 and 1.2 are installed (as part of the OS, not my doing). I considered building and installing 1.5 as well but figured out this workaround first.
- Loading branch information