Cannot open include file: 'unistd.h': No such file or directory
问题 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? 回答1: The "uni" in unistd stands for "UNIX" - you won't find it on a Windows system. Most widely used, portable libraries should offer