D3D linker errors

Linker errors. They always seem to stop me in my tracks. Any help with this one? I have no idea what to do about it. I've checked the folder, the file is in it. I am using Visual Studio Express 2010 and have included to the project:

C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x64

C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86

C:\Program Files\Microsoft DirectX SDK (March 2009)\Include

$(VCInstallDir)Include

$(DXSDK_DIR)include


Yet, it still says

LINK : fatal error LNK1104: cannot open file 'd3dx9.lib'


Any help is appreciated.
Try to make a new project and copy your .h and .cpp files to new project directory.
Huh, it works now. I had to copy the entire Include directory and a library to the projects directory though. :/

Thanks though, as long as it works, I'm happy with it.
Topic archived. No new replies allowed.