游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2142|回复: 1

DXUT无法编译啊,求救

[复制链接]

39

主题

120

帖子

120

积分

注册会员

Rank: 2

积分
120
发表于 2008-2-20 23:05:00 | 显示全部楼层 |阅读模式
VC++6.0下有这些错误。。
dxstdafx.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUT.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUTenum.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUTgui.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUTMesh.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUTmisc.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUTSettingsDlg.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
DXUTsound.cpp
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
d:\ansic\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
d:\ansic\dxut\common\dxstdafx.h(71) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(72) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(73) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(74) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(75) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxstdafx.h(76) : warning C4068: unknown pragma
d:\ansic\dxut\common\dxutgui.h(13) : fatal error C1083: Cannot open include file: 'dimm.h': No such file or directory
main.cpp
d:\ansic\dxut\dxut\main.cpp(1) : fatal error C1083: Cannot open include file: 'dxstdafx.h': No such file or directory
Error executing cl.exe.

dxut.exe - 57 error(s), 48 warning(s)

实在不知道怎么回事了。我己经设成UNICODE编译了,可是出现了新问题。不知哪位高人能指点一下。。

11

主题

27

帖子

27

积分

注册会员

Rank: 2

积分
27
发表于 2008-2-22 20:06:00 | 显示全部楼层

Re:DXUT无法编译啊,求救

DXUT好像要在Visual Studio .Net 2003才能编译
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-12-20 04:40

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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