就这个吧2 2013-06-08 09:54
浏览 1097

编译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

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 乘性高斯噪声在深度学习网络中的应用
    • ¥15 运筹学排序问题中的在线排序
    • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
    • ¥30 求一段fortran代码用IVF编译运行的结果
    • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
    • ¥15 C++ 头文件/宏冲突问题解决
    • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
    • ¥50 安卓adb backup备份子用户应用数据失败
    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
    • ¥30 python代码,帮调试,帮帮忙吧