2 zzzzxxxccv zzzzxxxccv 于 2013.06.08 17:54 提问

编译DX9程序出现奇怪的错误,请大牛帮忙解决,谢谢

1>g:\directx 2007\include\d3dx9math.h(787) : error C2143: syntax error : missing ',' before '*'
1>g:\directx 2007\include\d3dx9math.h(792) : error C2143: syntax error : missing ',' before '*'
1>g:\directx 2007\include\d3dx9math.h(797) : error C2143: syntax error : missing ',' before '*'
1>g:\directx 2007\include\d3dx9math.h(802) : error C2143: syntax error : missing ',' before '*'
1>g:\directx 2007\include\d3dx9math.h(1778) : error C2061: syntax error : identifier 'LPDIRECT3DCUBETEXTURE9'
1>g:\directx 2007\include\d3dx9math.inl(789) : error C2065: 'm' : undeclared identifier
1>g:\directx 2007\include\d3dx9math.inl(795) : error C2065: 'm' : undeclared identifier
1>g:\directx 2007\include\d3dx9math.inl(1994) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1994) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1994) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1995) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1995) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1995) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1996) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1996) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1996) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1997) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1997) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1997) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1999) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1999) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1999) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(1999) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2012) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2012) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2012) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2012) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2013) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2013) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2013) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2013) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2014) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2014) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2014) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2014) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2015) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2015) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2015) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9math.inl(2015) : error C2039: 'm' : is not a member of 'D3DXMATRIX'
1> g:\directx 2007\include\d3dx9math.h(312) : see declaration of 'D3DXMATRIX'
1>g:\directx 2007\include\d3dx9core.h(77) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(77) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(77) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(77) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(211) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9core.h(220) : error C2061: syntax error : identifier 'LPDIRECT3DTEXTURE9'
1>g:\directx 2007\include\d3dx9core.h(235) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(235) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(235) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(236) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(327) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9core.h(334) : error C2061: syntax error : identifier 'LPDIRECT3DTEXTURE9'
1>g:\directx 2007\include\d3dx9core.h(382) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(382) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(382) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(393) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(397) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(397) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(397) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(408) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(419) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(419) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(419) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(421) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(425) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(425) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(425) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(427) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(464) : error C2146: syntax error : missing ';' before identifier 'Format'
1>g:\directx 2007\include\d3dx9core.h(466) : error C2146: syntax error : missing ';' before identifier 'DepthStencilFormat'
1>g:\directx 2007\include\d3dx9core.h(491) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9core.h(494) : error C2061: syntax error : identifier 'LPDIRECT3DSURFACE9'
1>g:\directx 2007\include\d3dx9core.h(508) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(508) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(508) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(514) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(554) : error C2146: syntax error : missing ';' before identifier 'Format'
1>g:\directx 2007\include\d3dx9core.h(556) : error C2146: syntax error : missing ';' before identifier 'DepthStencilFormat'
1>g:\directx 2007\include\d3dx9core.h(581) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9core.h(585) : error C2061: syntax error : identifier 'LPDIRECT3DCUBETEXTURE9'
1>g:\directx 2007\include\d3dx9core.h(588) : error C2061: syntax error : identifier 'LPDIRECT3DTEXTURE9'
1>g:\directx 2007\include\d3dx9core.h(591) : error C2061: syntax error : identifier 'LPDIRECT3DTEXTURE9'
1>g:\directx 2007\include\d3dx9core.h(595) : error C2061: syntax error : identifier 'LPDIRECT3DTEXTURE9'
1>g:\directx 2007\include\d3dx9core.h(598) : error C2061: syntax error : identifier 'D3DCUBEMAP_FACES'
1>g:\directx 2007\include\d3dx9core.h(612) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(612) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(612) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(618) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9core.h(705) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9core.h(745) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>g:\directx 2007\include\d3dx9core.h(745) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>g:\directx 2007\include\d3dx9core.h(745) : warning C4229: anachronism used : modifiers on data are ignored
1>g:\directx 2007\include\d3dx9core.h(746) : error C2059: syntax error : ')'
1>g:\directx 2007\include\d3dx9mesh.h(103) : error C2065: 'MAXD3DDECLLENGTH' : undeclared identifier
1>g:\directx 2007\include\d3dx9mesh.h(104) : error C2056: illegal expression
1>g:\directx 2007\include\d3dx9mesh.h(166) : error C2146: syntax error : missing ';' before identifier 'MatD3D'
1>g:\directx 2007\include\d3dx9mesh.h(257) : error C2061: syntax error : identifier 'D3DVERTEXELEMENT9'
1>g:\directx 2007\include\d3dx9mesh.h(260) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9mesh.h(262) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9mesh.h(264) : error C2143: syntax error : missing ',' before '*'
1>g:\directx 2007\include\d3dx9mesh.h(265) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXBUFFER9'
1>g:\directx 2007\include\d3dx9mesh.h(266) : error C2061: syntax error : identifier 'LPDIRECT3DINDEXBUFFER9'
1>g:\directx 2007\include\d3dx9mesh.h(278) : error C2061: syntax error : identifier 'D3DVERTEXELEMENT9'
1>g:\directx 2007\include\d3dx9mesh.h(297) : error C2061: syntax error : identifier 'D3DVERTEXELEMENT9'
1>g:\directx 2007\include\d3dx9mesh.h(300) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9mesh.h(302) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE9'
1>g:\directx 2007\include\d3dx9mesh.h(304) : error C2143: syntax error : missing ',' before '*'
1>g:\directx 2007\include\d3dx9mesh.h(305) : error C2061: syntax error : identifier 'LPDIRECT3DVERTEXBUFFER9'
1>g:\directx 2007\include\d3dx9mesh.h(306) : error C2061: syntax error : identifier 'LPDIRECT3DINDEXBUFFER9'
1>g:\directx 2007\include\d3dx9mesh.h(318) : error C2061: syntax error : identifier 'D3DVERTEXELEMENT9'
1>g:\directx 2007\include\d3dx9mesh.h(347) : error C2061: syntax error : identifier 'D3DVERTEXELEMENT9'
1>g:\directx 2007\include\d3dx9mesh.h(347) : fatal error C1003: error count exceeds 100; stopping compilation

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!