游戏开发论坛

 找回密码
 立即注册
搜索
查看: 4069|回复: 12

[求助]d3d9程序怎么脱离d3dx9d_2x.dll

[复制链接]

1

主题

7

帖子

13

积分

新手上路

Rank: 1

积分
13
发表于 2005-6-5 15:31:00 | 显示全部楼层 |阅读模式
要怎么样才能让写的程序在没有装SDK的机器上运行?

132

主题

1341

帖子

1341

积分

金牌会员

Rank: 6Rank: 6

积分
1341
发表于 2005-6-5 15:40:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

发布版(零售版)(非debug版)

1

主题

7

帖子

13

积分

新手上路

Rank: 1

积分
13
 楼主| 发表于 2005-6-5 18:21:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

嗯,我先前试过了。也不行。我用的vc 2003 ,比如说Samples\C++\Direct3D\MultiAnimation
用release还是要d3dx9d_25.dll

69

主题

450

帖子

473

积分

中级会员

战魂缔造者

Rank: 3Rank: 3

积分
473
QQ
发表于 2005-6-5 19:32:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

那就带上这个就可以了

1

主题

7

帖子

13

积分

新手上路

Rank: 1

积分
13
 楼主| 发表于 2005-6-5 20:06:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

呵呵,只好如此。
只是心中总觉不爽,像MultiAnimation这个最后release的exe只导入了d3dx9_25.dll/DSOUND.dll两个跟DX有关系的dll,那根本就没有用D3D 的distribution runtime
郁闷

13

主题

978

帖子

978

积分

高级会员

Rank: 4

积分
978
发表于 2005-6-5 21:02:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

可能你用的是debug版本的dx9sdk

1

主题

7

帖子

13

积分

新手上路

Rank: 1

积分
13
 楼主| 发表于 2005-6-5 21:26:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

d3dx9d
d stands for debug?
那要怎么搞定呢?谢谢

13

主题

978

帖子

978

积分

高级会员

Rank: 4

积分
978
发表于 2005-6-5 21:57:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

安装retail(零售)版本的dx9sdk试试…………
具体参考dx9的文档。

1

主题

7

帖子

13

积分

新手上路

Rank: 1

积分
13
 楼主| 发表于 2005-6-6 12:09:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

谢谢seer 找到些线索,吃完饭回来研读
D3DX is a library of tools designed to provide additional graphics functionality on top of Microsoft Direct3D. D3DX is provided as a dynamic-link library (DLL).

Only one version of D3DX is provided in this release of the Microsoft DirectX software development kit (SDK). The retail D3DX DLL is included in the redistributable provided in the SDK, and is automatically installed as part of Installing DirectX with DirectSetup. The D3DX library included in this release is dependant on the Direct3D runtimes that shipped with this SDK. Applications linking against the version of D3DX in this release must also redistribute the runtime from this SDK.

Multiple releases of D3DX can reside independently on a single system simultaneously. By statically linking an application to D3dx9.lib, the application dynamically links to the corresponding retail D3DX DLL at run-time. This DLL corresponds to the D3DX headers the application is compiled against (named with the D3DX_SDK_VERSION constant in D3dx9core.h). As new versions of D3DX are shipped in future releases of the DirectX SDK, applications linking to earlier D3DX libraries will remain unaffected.

1

主题

7

帖子

13

积分

新手上路

Rank: 1

积分
13
 楼主| 发表于 2005-6-6 12:15:00 | 显示全部楼层

Re:[求助]d3d9程序怎么脱离d3dx9d_2x.dll

OK,
要装sdk里面带的Redist,然后好象说是用dx setup安装你的游戏就会帮助安装需要的东西,不知道有没有理解错。随便看了一下,问题解决。
谢谢各位大虾!!小弟初学dx,请多指教
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-12-25 21:24

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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