|
|
编译一个小程序时出现下面的问题:
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
c:\dxsdk\include\d3dx9shader.h(326) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
c:\dxsdk\include\d3dx9effect.h(238) : error C2061: syntax error : identifier 'LPDIRECT3DPIXELSHADER9'
c:\dxsdk\include\d3dx9effect.h(239) : error C2061: syntax error : identifier 'LPDIRECT3DPIXELSHADER9'
c:\dxsdk\include\d3dx9effect.h(240) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
c:\dxsdk\include\d3dx9effect.h(241) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
c:\dxsdk\include\d3dx9effect.h(323) : error C2061: syntax error : identifier 'LPDIRECT3DPIXELSHADER9'
c:\dxsdk\include\d3dx9effect.h(324) : error C2061: syntax error : identifier 'LPDIRECT3DPIXELSHADER9'
c:\dxsdk\include\d3dx9effect.h(325) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
c:\dxsdk\include\d3dx9effect.h(326) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
c:\dxsdk\include\d3dx9effect.h(432) : error C2061: syntax error : identifier 'LPDIRECT3DPIXELSHADER9'
c:\dxsdk\include\d3dx9effect.h(433) : error C2061: syntax error : identifier 'LPDIRECT3DPIXELSHADER9'
c:\dxsdk\include\d3dx9effect.h(434) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
c:\dxsdk\include\d3dx9effect.h(435) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXSHADER9'
Error executing cl.exe.
有朋友指点一下是怎么回事吗? |
|