VC++6.0学习Directx9.0c遇到的问题及解决方案的记录

希望这篇日志对以后选这门课的同学有用。

系统:win7 32位 IDE:VC++6.0 游戏引擎:Directx9.0c

很不幸,2014年了我还在用这个丑陋的VC++6.0。

1.提示"fatal error C1083: Cannot open include file: 'streambuf': No such file or directory"

上StackOverFlow看了一下,是VC++6.0太老的缘故,建议用codeblocks,好吧,懒得去装个codeblocks,解决方案http://download.csdn.net/detail/xinxing1991/4568584

2."fatal error LNK1104: cannot open file "d3d9.lib""

解决方案:直接将dx中的lib-x86中的d3d9.lib d3dx9.lib 拷入vc的lib文件夹下

3. fatal error C1083: Cannot open include file: 'd3dUtility.h': No such file or directory

好吧,这个d3dUtility.h是原作者自己写的,当然看到这中什么Utility的文件一般都是开发者自己编写自己用的。。。捂脸。这个文件老师给出了。。。

原文地址:https://www.cnblogs.com/shaozhiheng/p/3771018.html