0

So I'm trying to compile a DX9 program that include the headers d3d9.h and d3dx9.h. However it keeps getting a fatal error trying to find d3dx9.lib. What's interesting is that when I try to input d3dx9.h it shows up as in "Microsoft SDKs\Windows..." and in "Microsoft DirectX SDK...". I have set up the include and library directories under VC++ Directories for the project. I get no errors in the code, but only when compiling. DirectX (June 2010) did install correctly, so I'm not sure what could be causing this, any help?

4

1 回答 1

1

没有 d3d9x.lib,你可能换了字母。它是 d3dx9.lib。检查名称的链接器设置,可能是代码中的#pragma 注释。

如果您确定自己做对了,请使用链接器、输入、忽略特定库设置。

于 2012-04-21T16:40:41.440 回答