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

Close

#47 bmp2png 1.6.2 / libpng 1.4 -- compile failure

open
nobody
None
5
2012-08-22
2012-03-25
Jari Aalto
No

Please suggest fix how to compile with latest LIBPNG 1.4

gcc -o png2bmp png2bmp.o common.o -lpng14 -lz -lm

png2bmp.o: In function skip_macbinary': /home/jaalto/cygwin/my/bmp2png/bmp2png-1.62/.build/build/png2bmp.c:378: undefined reference to_png_read_data'
/home/jaalto/cygwin/my/bmp2png/bmp2png-1.62/.build/build/png2bmp.c:382: undefined reference to _png_read_data' collect2: ld returned 1 exit status Makefile:31: recipe for targetpng2bmp' failed

Discussion