Benchingko

Hello, I have a problem, I am using directx sdk (february 2007) together with microsoft visual studio.net 2003, When I try to build solutions, particularly tutorial01 tutorials02 and others. The compiler gives me this error....

Build Log

------- Build started: Project: Tutorial01, Configuration: Debug|Win32 -------

Command Lines
Creating temporary file "c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\Tutorial01\Debug\RSP000001.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "PROFILE" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MTd /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
".\Tutorial01.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\Tutorial01\Debug\RSP000001.rsp" /nologo"
Output Window
Compiling...
Tutorial01.cpp
c:\Program Files\Microsoft DirectX SDK (February 2007)\Include\D3D10.h(818) : error C2061: syntax error : identifier '__out'
c:\Program Files\Microsoft DirectX SDK (February 2007)\Include\D3D10.h(822) : error C2061: syntax error : identifier '__in'
c:\Program Files\Microsoft DirectX SDK (February 2007)\Include\D3D10.h(826) : error C2059: syntax error : ')'
c:\Program Files\Microsoft DirectX SDK (February 2007)\Include\D3D10.h(826) : fatal error C1903: unable to recover from previous error(s); stopping compilation
	
Can anyone help me with this. 
Thanks alot... 




Re: Game Technologies: DirectX 101 Cant Compile!! Please Help

Lord_Dan

The file D3D10.h may be corrupt or something like this. Try reinstalling your SDK.



Re: Game Technologies: DirectX 101 Cant Compile!! Please Help

Benchingko

I have reinstalled my SDK and MSVS. I still get these errors, does it have something to do with my OS I am using windows XP.. Anyone please help..




Re: Game Technologies: DirectX 101 Cant Compile!! Please Help

S.

I dont know if you can compile DX10 applications on Windows XP, but i know that DX10 doesn't run on Windows XP only Vista...

Just use DX9 unless theres some major reason to use 10




Re: Game Technologies: DirectX 101 Cant Compile!! Please Help

Lord_Dan

Yes. This is the error. DirectX is not compatible with Windows XP. Try debugging it on vista (works on beta versions if u have one).



Re: Game Technologies: DirectX 101 Cant Compile!! Please Help

Benchingko

Thanks alot guys!!!!