I am trying to read pixel values of a PNG file using turbo C. I use lingpng library files. I started with following code
FILE *fp = fopen(file_name, "rb");
if (!fp) return;
fread(header, 1, number, fp);
is_png = !png_sig_cmp(header, 0, number);
if (!is_png) return;
when complie this, it gives no error. but when I run (or build all) it, it gives the following error
"Linker error:Undefined symbol __png_sig_cmp in module"
Please can any one help me in this problem? Do you have any idea of what is missing here?
thank you very much