pnggroup / libpng

LIBPNG: Portable Network Graphics support, official libpng repository
http://libpng.sf.net
Other
1.29k stars 626 forks source link

how to updata libpng? #169

Open yangnk opened 7 years ago

yangnk commented 7 years ago

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
glennrp commented 7 years ago

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?

jbowler commented 10 months ago

@ctruta: close