Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Thu, 1 May 2008 17:17:31 +0100,    group: microsoft.public.win32.programmer.directx.sdk        back       


DX9 sdk samples not compiling. Something about dx10?   
Hi,

I have VS.net 2003, direct x 9.0c installed. But when I try to compile the 
projects under "Microsoft DirectX SDK (August 2007)\Samples\C++\Direct3D"

VS keeps saying:

Compiling...
DXUT.cpp
C:\Program Files\Microsoft DirectX SDK (August 2007)\Include\D3D10.h(836) : 
error C2061: syntax error : identifier '__out'
C:\Program Files\Microsoft DirectX SDK (August 2007)\Include\D3D10.h(840) : 
error C2061: syntax error : identifier '__in'
C:\Program Files\Microsoft DirectX SDK (August 2007)\Include\D3D10.h(844) : 
error C2059: syntax error : ')'
C:\Program Files\Microsoft DirectX SDK (August 2007)\Include\D3D10.h(844) : 
fatal error C1903: unable to recover from previous error(s); stopping 
compilation

Any ideas why? This happens with all the project samples. I haven altered 
any settings, alls with defaults when installed the sdks. No idea why its 
complaining about dx10. I use XP Pro sp2.

Any help much appreciated.
date: Thu, 1 May 2008 17:17:31 +0100   author:   S. Blair

Re: DX9 sdk samples not compiling. Something about dx10?   
The version of the Windows headers that shipped with VS .NET 2003 is out of 
date. If you install the Windows SDK (formerly known as the Platform SDK) 
you will get updated headers.

Note that VS .NET 2003 is not supported by the Windows SDK, so you'll need a 
Platform SDK that does. The Platform SDK for Windows Server 2003 SP1 should 
work. The DirectX SDK dropped support for VS .NET 2003 in March 2008 when we 
added VS 2008 support.

You might also want to take a look at the VS 2005 or VS 2008 C++ Express 
edition.

-- 
Chuck Walbourn
SDE, XNA Developer Connection

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Sat, 3 May 2008 17:25:06 -0700   author:   Chuck Walbourn [MSFT]

Re: DX9 sdk samples not compiling. Something about dx10?   
Hi thanks for reply.

Tried installing the Windows Server 2003 SP1 but it gives me a version
error. Im using XP sp2. Is there a different Platform SDK I can use?

Many thanks.


"Chuck Walbourn [MSFT]"  wrote in message 
news:%23ZfzO1XrIHA.3780@TK2MSFTNGP03.phx.gbl...
> The version of the Windows headers that shipped with VS .NET 2003 is out 
> of date. If you install the Windows SDK (formerly known as the Platform 
> SDK) you will get updated headers.
>
> Note that VS .NET 2003 is not supported by the Windows SDK, so you'll need 
> a Platform SDK that does. The Platform SDK for Windows Server 2003 SP1 
> should work. The DirectX SDK dropped support for VS .NET 2003 in March 
> 2008 when we added VS 2008 support.
>
> You might also want to take a look at the VS 2005 or VS 2008 C++ Express 
> edition.
>
> -- 
> Chuck Walbourn
> SDE, XNA Developer Connection
>
> This posting is provided "AS IS" with no warranties, and confers no 
> rights.
>
>
date: Wed, 7 May 2008 14:32:49 +0100   author:   S. Blair

Re: DX9 sdk samples not compiling. Something about dx10?   
Platform SDK for Windows Server 2003 SP1 should install fine on XP SP2. Make 
sure you are using the PSD-X86.EXE.

http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en#Requirements

-- 
Chuck Walbourn
SDE, XNA Developer Connection

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Mon, 12 May 2008 16:23:04 -0700   author:   Chuck Walbourn [MSFT]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us