Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to updata libpng? #169

Open
yangnk opened this issue Jul 24, 2017 · 2 comments
Open

how to updata libpng? #169

yangnk opened this issue Jul 24, 2017 · 2 comments

Comments

@yangnk
Copy link

yangnk commented Jul 24, 2017

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
Copy link
Contributor

glennrp commented Jul 24, 2017

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
Copy link
Contributor

jbowler commented Dec 27, 2023

@ctruta: close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants