游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1518|回复: 3

请教关于sdk2004的编译问题。

[复制链接]

14

主题

28

帖子

28

积分

注册会员

Rank: 2

积分
28
发表于 2004-10-10 17:41:00 | 显示全部楼层 |阅读模式
--------------------Configuration: resource - Win32 Debug--------------------
Compiling...
BasicHLSL.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.
e:\program files\microsoft directx 9.0 sdk (october 2004)\samples\c++\common\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 p
roperties change the Character Set to 'Use Unicode Character Set'."
Error executing cl.exe.

resource.exe - 1 error(s), 0 warning(s)
我是xp+VC++6.0中文版,不知怎么回事,编译之前的sdk的例子没有任何问题。
请大家帮帮忙。 [em4] [em4]

14

主题

28

帖子

28

积分

注册会员

Rank: 2

积分
28
 楼主| 发表于 2004-10-10 17:42:00 | 显示全部楼层

Re:请教关于sdk2004的编译问题。

哦,include和lib路径均正确无误。

18

主题

573

帖子

573

积分

高级会员

Rank: 4

积分
573
发表于 2004-10-10 22:12:00 | 显示全部楼层

Re:请教关于sdk2004的编译问题。

sdk2004的帮助文件中说只能支持.net 2002、2003等版本,不支持vc6;需要的话,请用sdk2003。

15

主题

155

帖子

157

积分

注册会员

Rank: 2

积分
157
发表于 2004-10-10 23:54:00 | 显示全部楼层

Re:请教关于sdk2004的编译问题。

需要编译成unicode版本
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-12-22 17:34

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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