July 5th, 2005, 10:06 AM
how to use libpng?
I want to know how to use libpng.
when I tried to use the example.c , I got some linker error( I am using gc++).
[Linker error] undefined reference to `png_sig_cmp'
[Linker error] undefined reference to `png_create_read_struct'
[Linker error] undefined reference to `png_create_info_struct'
I have put zlib and libpng in my work folder
work folder -> zilb -> all files unzipped from zlib
work folder -> libpng -> all files unzipped from libpng1.2.8
in my code,
did I do something wrong??
Click Here to Expand Forum to Full Width