Hi
I am getting the following compiler error when I compile with VC 2015 and SDK for windows 10:
c:\wxwidgets-3.0.2\src\png\pngpriv.h(373): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
I use DialogBlocks to run the compiling on a Windows 8.1 computer.
Has anyone any ideas why this is happening? Many thanks!
Patrick Grace
compiler error C1083 for windows.h
- ColleenKobe
- Earned some good credits
- Posts: 109
- Joined: Mon Aug 31, 2015 3:47 pm
Re: compiler error C1083 for windows.h
I realize this posting is a year and a half old, but I thought I would answer anyway.
The error message is telling you that wxWidgets needs windows.h to compile your program, but wxWidgets can't find windows.h. My guess is that windows.h resides somewhere on your computer, but in a directory that wxWidgets is not looking in.
Here is what Microsoft says about missing a file in general: https://msdn.microsoft.com/en-us/library/et4zwx34.aspx Check your search path.
This article may be more useful: https://github.com/curl/curl/issues/454
Close to the end of the page, it says that the system files should be installed in C:\Program Files (x86)\Windows Kits\10
I hope this helps.
The error message is telling you that wxWidgets needs windows.h to compile your program, but wxWidgets can't find windows.h. My guess is that windows.h resides somewhere on your computer, but in a directory that wxWidgets is not looking in.
Here is what Microsoft says about missing a file in general: https://msdn.microsoft.com/en-us/library/et4zwx34.aspx Check your search path.
This article may be more useful: https://github.com/curl/curl/issues/454
Close to the end of the page, it says that the system files should be installed in C:\Program Files (x86)\Windows Kits\10
I hope this helps.