Lnk1104 cannot open "d3dx9.lib"

I am using visual studio c++ 2008 express edition and I try to run some code with d3dx9 library but it doesn't work if I run a code using only d3d9 library the code compile and run without any problems. The d3dx9 and d3d9 libraries are in the same folder. I reinstal the SDK(August2007) more than ones but still have the same mistake. And to use my code properly I can not ignore this library.

If someone found a solution to this problem, or if you've got some idea.....

[492 byte] By [tatoo45] at [2008-3-6]
# 1
You need to add the DirectX library folder to Visual Studio's search path. See the "Directories" settings under Tools -> Options -> Projects and Solutions. Otherwise the linker will not know where to find d3dx9.lib.
einaros at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Visual C++ Express Orcas...
# 2

I did it, but I still have the same problem. I even try project property->Configuration Properties->linker ->Input "Additional Dependencies" "d3d9 d3dx9" but nothing works.

tatoo45 at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Visual C++ Express Orcas...
# 3
Paste the contents of your build log.
einaros at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Visual C++ Express Orcas...

Visual Studio Orcas

Site Classified