Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv libpng version mismatch

Hi, I'm using opencv-2.4.9 on Ubuntu 14.04 and getting this error running my java application:

libpng warning: Application was compiled with png.h from libpng-1.5.12 libpng warning: Application is running with png.c from libpng-1.2.50 libpng error: Incompatible libpng version in application and library

As far as I understand opencv comes with libpng 1.5.12, but ubuntu 14.04 has version 1.2.50, so I installed libpng-1.5.12, but not sure did it properly because I get the same error. What can I check? Thank You

opencv libpng version mismatch

Hi, I'm using opencv-2.4.9 on Ubuntu 14.04 and getting this error running my java application:

libpng warning: Application was compiled with png.h from libpng-1.5.12 libpng-1.5.12

libpng warning: Application is running with png.c from libpng-1.2.50 libpng-1.2.50

libpng error: Incompatible libpng version in application and library

As far as I understand opencv comes with libpng 1.5.12, but ubuntu 14.04 has version 1.2.50, so I installed libpng-1.5.12, but not sure did it properly because I get the same error. What can I check? Thank You

[solved] opencv libpng version mismatch

Hi, I'm using opencv-2.4.9 on Ubuntu 14.04 and getting this error running my java application:

libpng warning: Application was compiled with png.h from libpng-1.5.12

libpng warning: Application is running with png.c from libpng-1.2.50

libpng error: Incompatible libpng version in application and library

As far as I understand opencv comes with libpng 1.5.12, but ubuntu 14.04 has version 1.2.50, so I installed libpng-1.5.12, but not sure did it properly because I get the same error. What can I check? Thank You

SOLUTION: Add flag BUILD_PNG=OFF to cmake. On the cmake results you'll see under Media I/O, PNG: <path to="" libpng.so=""> instead of Build...

[solved] opencv libpng version mismatch

Hi, I'm using opencv-2.4.9 on Ubuntu 14.04 and getting this error running my java application:

libpng warning: Application was compiled with png.h from libpng-1.5.12

libpng warning: Application is running with png.c from libpng-1.2.50

libpng error: Incompatible libpng version in application and library

As far as I understand opencv comes with libpng 1.5.12, but ubuntu 14.04 has version 1.2.50, so I installed libpng-1.5.12, but not sure did it properly because I get the same error. What can I check? Thank You

SOLUTION: Add flag BUILD_PNG=OFF to cmake. On the cmake results you'll see under Media I/O, PNG: <path to="" libpng.so=""> "path to your libpng.so" instead of Build...