I’m coding a simple SDL program with VC10. The problem that I am having is at compiling the program:
Error 1 error C1083: Cannot open include file: ‘errno.h’: No such file
or directory c:\program files\microsoft visual studio
10.0\vc\include\cerrno 14Error 2 error C1083: Cannot open include file: ‘errno.h’: No such file
or directory c:\program files\microsoft visual studio
10.0\vc\include\cerrno 14Error 3 error C1083: Cannot open include file: ‘errno.h’: No such file
or directory c:\program files\microsoft visual studio
10.0\vc\include\cerrno 14Error 4 error C1083: Cannot open include file: ‘errno.h’: No such file
or directory c:\program files\microsoft visual studio
10.0\vc\include\cerrno 14
I’m not sure what could be the problem. I don’t have an errno.h file in my includes. And I have no idea of where to get it or if it was there. What can I do? I have been looking for an errno.h file around but all seem aimed at Linux platforms.
Seems like a bad installation, the file errno.h is missing. It should be somewhere in compiler includes and you need it because cerrno refers to it.