How do I link to an obj compiled by nvcc ? I want to call a function in a .cu file

I’m trying to get started with CUDA.

I have a .cu file from one of the demo projects which is being compiled by nvcc under DevStudio 2005, I also have a regular .cpp file compiled as usual.

I want to call a function in the .cu file from my .cpp file but I can’t get the linker
to recognise it.

Help (please)
Cheers
<img src=‘http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/crying.gif’ class=‘bbc_emoticon’ alt=’:’(’ />

OOps… solved it… Its just an extern “C” in the .cu file…