Visual Studio Compiling error "Unable to start program c:\users\...\debug\cuda.dll"

I was trying to compile my first cuda program in VS 2010 Pro, but something is wrong: After the compiling stage (Successful!!!) A window pops up saying “Unable to start program c:\users…\debug\cuda.dll”.
I checked and the cuda.dll is in that folder.
Can you please help?

I follow the indications from this forum to setup Visual Studio for Cuda development. I have Windows7 64bits, and all the latest downloads from Nvidia inclusive the NSIGHT.

Thanks in advance,

L Marques

Hello!

I suppose that you are creating a .dll file with VS 2010.
I’d like to know the following:

  1. Which program are you trying to compile? is it one single code or you are using mone than one code? Can you share here what you’re trying to compile in an attachment?
  2. I’d like to see the configuration of the properties of the project because I had the same problem in the past and the cause of the problem (in my case) was the configuration of directories (you know, my program was looking for the .dll file in the wrong directory).

Hope to hear from you soon.

Arturo V.