|
发表于 2004-8-22 01:03:00
|
显示全部楼层
Re:为什么directx 9.0 sdk,的例子编译不了呀,谁有8.1的sdk的下
我这里也不行,路径不对不会吧.我这里每次都是提示错误。实在搞不定,汗~~!
--------------------Configuration: CustomUI - Win32 Debug--------------------
Compiling...
CustomUI.cpp
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.
f:\directx9_sdk\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
f:\directx9_sdk\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
f:\directx9_sdk\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
f:\directx9_sdk\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
f:\directx9_sdk\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
f:\directx9_sdk\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
f:\temp\ddraw\dx9_ui\dxut.h(13) : fatal error C1189: #error : "The sample framework requires a Unicode build. If you are using Microsoft Visual C++ .NET, under the General tab of the project properties change the Character Set to 'Use Unicode Chara
cter Set'."
Error executing cl.exe.
CustomUI.exe - 7 error(s), 0 warning(s)
|
|