Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#197 won't build with >=libpng-1.4

open
nobody
None
5
2010-10-29
2010-10-29
Anonymous
No

DevIL is for now not compatibel with newer libpng versions.

Discussion

  • Steve Sexton
    Steve Sexton
    2011-01-06

    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.