简体   繁体   中英

Error when compiling a DirectX9, program says in cannot find d3dx.lib

I have already placed d3d.lib and d3dx.lib in additional dependencies, and added the paths to the VC++ directories include and lib Directories, but I am still getting this error.

I have even gone as far as to move the Include and lib flies from the SDK into the include and lib files of VS 2010.

For D3D9, you want to link against d3d9.lib and d3dx9.lib, not d3d.lib and d3dx.lib. There are also d3d10.lib, d3d10_1.lib, d3d11.lib, d3dx10.lib and d3dx11.lib corresponding to other D3D versions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM