I was trying to make openVRML version 0.10.1 and ran into the following
error in regarding the pngread.cpp. Does anyone ever run into the
following error before? Can someone please help?
I looked into the png.h and couldn't find the declaration of
png_get_IHDR(), png_get_channels(), ..., but it should not be the problem
as that is not what the error message means.
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib -I../../../lib/js
-DXP_UNIX -g -O2 -c pngread.cpp -DPIC -o .libs/pngread.lo
pngread.cpp: In function `int pngreadstr(FILE *, int *, int *, int *,
png_struct *, png_info *, unsigned char **, unsigned char ***)':
pngread.cpp:116: implicit declaration of function `int png_get_IHDR(...)'
pngread.cpp:118: implicit declaration of function `int png_get_channels(...)'
pngread.cpp:150: implicit declaration of function `int png_get_valid(...)'
pngread.cpp:161: implicit declaration of function `int png_get_PLTE(...)'
pngread.cpp:177: implicit declaration of function `int png_get_gAMA(...)'
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Any help will be appreciated.
|