linker/include problems trying to include d3dx9.h in cu file


I am having troubles including d3dx9.h in my cuda kernel file. I would like to be able to use some of the defined direct3d types in my kernel but I’m starting to think its not possible.

at first I got the following error:
fatal error C1083: Cannot open include file: ‘d3dx9.h’: No such file or directory

so I added the following to Project > Properties > CUDA Build Rule v2.1.0 > General > Additional Includes
“…\Program Files\Microsoft DirectX SDK (November 2008)\Include”

but now I have the following error:
fatal error LNK1181: cannot open input file ‘.\Debug\’

Any help is appreciated!