Opened 13 years ago
Closed 13 years ago
#67 closed defect (fixed)
Missing libpng support
Reported by: | Owned by: | Peter Baumann | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | applications | Version: | 8.2 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
png.cc: In member function 'virtual r_convDesc& r_Conv_PNG::convertTo(const char*)': png.cc:182:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations] png.cc:182:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations] png.cc:216:67: error: 'png_info' has no member named 'trans_values' png.cc:219:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations] png.cc:219:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations] png.cc:234:67: error: 'png_info' has no member named 'trans_values' png.cc:237:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations] png.cc:237:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations] png.cc:253:83: error: 'png_info' has no member named 'trans_values' png.cc:253:114: error: 'png_info' has no member named 'trans_values' png.cc:253:147: error: 'png_info' has no member named 'trans_values' png.cc:256:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations] png.cc:256:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations] png.cc:274:15: error: 'png_info' has no member named 'trans_values' png.cc:275:15: error: 'png_info' has no member named 'trans_values' png.cc:276:15: error: 'png_info' has no member named 'trans_values' png.cc:277:15: error: 'png_info' has no member named 'trans_values' png.cc: In member function 'virtual r_convDesc& r_Conv_PNG::convertFrom(const char*)': png.cc:433:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations] png.cc:433:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations]
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | rasdaman-libpng14.diff added |
---|
comment:1 by , 13 years ago
Which version of libpng do you have installed? On my system with libpng 1.2.46 I get these errors from your patch:
png.cc: In member function ‘virtual r_convDesc& r_Conv_PNG::convertTo(const char*)’: png.cc:216:67: error: ‘png_info’ has no member named ‘trans_color’ png.cc:234:67: error: ‘png_info’ has no member named ‘trans_color’ png.cc:253:83: error: ‘png_info’ has no member named ‘trans_color’ png.cc:253:113: error: ‘png_info’ has no member named ‘trans_color’ png.cc:253:145: error: ‘png_info’ has no member named ‘trans_color’ png.cc:274:15: error: ‘png_info’ has no member named ‘trans_color’ png.cc:275:15: error: ‘png_info’ has no member named ‘trans_color’ png.cc:276:15: error: ‘png_info’ has no member named ‘trans_color’ png.cc:277:15: error: ‘png_info’ has no member named ‘trans_color’ png.cc:370:59: error: ‘png_info’ has no member named ‘trans_color’ png.cc:375:59: error: ‘png_info’ has no member named ‘trans_color’ png.cc:380:60: error: ‘png_info’ has no member named ‘trans_color’ png.cc:380:89: error: ‘png_info’ has no member named ‘trans_color’ png.cc:380:120: error: ‘png_info’ has no member named ‘trans_color’
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ah right, libpng14, I submitted a patch that fixes this. Thanks for reporting!
Note:
See TracTickets
for help on using tickets.
add libpng 14 support