When compiling in VC6 I am receiving the error:
(fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory)
Can anyone explain why I am receiving this error?
When compiling in VC6 I am receiving the error:
(fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory)
Can anyone explain why I am receiving this error?
I had a similar issue:
I found this answer which mention that using VS 2017 Command prompt can help. I used 2008 so I searched for 2017.
For those who has Visual Studio 2017 and can't find the Command prompt like me, open CMD and run:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat"
Notice that I had the folder named
Enterprise
, but you might have a different folder (maybeCommunity
or something else).After that, I ran it and it worked good:
I also created a shortcut with this command:
Placed it here:
Credit to this answer.