libpng icon indicating copy to clipboard operation
libpng copied to clipboard

how to updata libpng?

Open yangnk opened this issue 7 years ago • 2 comments

dear sir: when i run caffe, I met the following error, i think is libpng version too low, but when i download libpng 1.6.22 and compile the source, caffe still use libpng-1.2.50, so how to update libpng-1.6.22?

libpng warning: Application built with libpng-1.2.50 but running with 1.6.22
E0724 20:06:51.113085 28969 io.cpp:653] Could not decode datum
OpenCV Error: Unknown error code -10 (Raw image encoder error: Empty JPEG image (DNL not supported)) in throwOnEror, file /home/td/opencv-2.4.9/modules/highgui/src/grfmt_base.cpp, line 131

yangnk avatar Jul 24 '17 12:07 yangnk

The warning indicates that you have successfully installed libpng-1.6.22. The problem is in your build script for caffe. It compiled the application with the old libpng-1.2.50 headers but then linked with libpng-1.6.22. Have you relinked caffe after installing libpng-1.6.22?

glennrp avatar Jul 24 '17 14:07 glennrp

@ctruta: close

jbowler avatar Dec 27 '23 02:12 jbowler