游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1805|回复: 2

关于directx3d的一个初级问题:syntax error : identifier...

[复制链接]

1

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2005-4-25 11:19:00 | 显示全部楼层 |阅读模式
编译一个小程序时出现下面的问题:

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.




有朋友指点一下是怎么回事吗?

33

主题

128

帖子

128

积分

注册会员

Rank: 2

积分
128
发表于 2005-4-25 20:40:00 | 显示全部楼层

Re: 关于directx3d的一个初级问题:syntax error : identifier 'LPDI

没有设置动态连接库

1

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
 楼主| 发表于 2005-4-26 01:25:00 | 显示全部楼层

Re:关于directx3d的一个初级问题:syntax error : identifier 'LPDIR

楼上能说具体一点吗?怎么设置?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-25 12:12

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表