Png.H File Not Found - Linux

fatal error: png.h: No such file or directory(MiddleBury Evaluation)

png.h is part of libpng16-devel and the specific include
directory must be added to the include path of your project.

$ cygcheck -l libpng16-devel |grep png.h
/usr/include/libpng16/png.h

png.h header file missing in zint barcode library:

What platform are you developing on? It sounds like you need to install the PNG development libraries. For example, if you are on Ubuntu, 'apt-get install libpng-dev'.

/usr/bin/sudo: Permission denied in cygwin when installing libpng-dev

To install package on cygwin you need to use its setup as downloaded by

https://cygwin.com

see

https://cygwin.com/cygwin-ug-net/setup-net.html#setup-packages

for how to select packages.

yum will not work and please note that Cygwin is not Linux. Most things works in the same way but not all.



Related Topics



Leave a reply



Submit