Cannot open include file: 'windows.h': ??

B

Boki

Dear All,

I just installed the DirectX SDK, and I install the Tutorial00 project,
I compile it, but it shows:

------ Build started: Project: Tutorial00, Configuration: Debug Win32
------
Compiling...
Tutorial00.cpp
c:\documents and settings\m0246\my documents\visual studio
projects\tutorial00\tutorial00.cpp(8) : fatal error C1083: Cannot open
include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\m0246\My
Documents\Visual Studio Projects\Tutorial00\Debug\BuildLog.htm"
Tutorial00 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

Why there is no <windows.h> ?

Best regards,
Boki.
 
G

Guest

I just installed the DirectX SDK, and I install the Tutorial00 project,
I compile it, but it shows:

------ Build started: Project: Tutorial00, Configuration: Debug Win32
------
Compiling...
Tutorial00.cpp
c:\documents and settings\m0246\my documents\visual studio
projects\tutorial00\tutorial00.cpp(8) : fatal error C1083: Cannot open
include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\m0246\My
Documents\Visual Studio Projects\Tutorial00\Debug\BuildLog.htm"
Tutorial00 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

Why there is no <windows.h> ?

Hello Boki,

Are you using VC2005 express?
if so, you also have to download and install the platform SDK. it is not
included by default. that is why the compiler cannot find that header file.

--

Kind regards,
Bruno.
(e-mail address removed)
Remove only "_nos_pam"
 
B

Boki

Bruno van Dooren 寫é“:
Hello Boki,

Are you using VC2005 express?
if so, you also have to download and install the platform SDK. it is not
included by default. that is why the compiler cannot find that header file.

--

Kind regards,
Bruno.
(e-mail address removed)
Remove only "_nos_pam"

Hi,

I have installed platform SDK, but there is still error message:

------ Build started: Project: CreateDevice, Configuration: Debug Win32
------
Compiling...
Project : error PRJ0003 : Error spawning 'cl.exe'.
Build log was saved at "file://c:\Documents and Settings\m0246\My
Documents\Visual Studio Projects\CreateDevice\Debug\BuildLog.htm"
CreateDevice - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========


Best regards,
Boki.
 
G

Guest

I have installed platform SDK, but there is still error message:
------ Build started: Project: CreateDevice, Configuration: Debug Win32
------
Compiling...
Project : error PRJ0003 : Error spawning 'cl.exe'.
Build log was saved at "file://c:\Documents and Settings\m0246\My
Documents\Visual Studio Projects\CreateDevice\Debug\BuildLog.htm"
CreateDevice - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

Hi Boki,
did you follow these steps:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

--

Kind regards,
Bruno.
(e-mail address removed)
Remove only "_nos_pam"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top