views:

45

answers:

1

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 14

Error 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 14

Error 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 14

Error 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 plataforms.

+1  A: 

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.

jpalecek