After having installed libpng
into my computer, I've included it into my project using #include <png.h>
on a Windows 7 SP1 plateform and using Visual Studio Ultimate 2013.
But at build time, I'm getting this error:
C1083: Cannot open include file: 'unistd.h': No such file or directory
How do I please to fix this? I haven't found yet any solution in the net?
#ifdef
around the platform specific parts and you just need to provide the right definitions to select the right platform. – Quaternary