DevIL is for now not compatibel with newer libpng versions.
png1.4 renamed png_set_gray_1_2_4_to_8 fn to png_set_expand_gray_1_2_4_to_8
I fixed this by passing CFLAGS to configure: : CFLAGS=-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8 ./configure
There are other ways to fix this, of course.
I haven't tried loading/saving .png's yet, so no idea if there are other problems with libpng1.4.
Log in to post a comment.
png1.4 renamed png_set_gray_1_2_4_to_8 fn to png_set_expand_gray_1_2_4_to_8
I fixed this by passing CFLAGS to configure:
:
CFLAGS=-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8 ./configure
There are other ways to fix this, of course.
I haven't tried loading/saving .png's yet, so no idea if there are other problems with libpng1.4.