Issue with nvcc in 64 bit version.

I need to compile my project with nvcc in command line.

I managed to compile on windows xp 32 bit version but when I try in win7 64 bit nvcc fail with strange error.

It’s like nvcc don’t send the right argument to cl.exe…

On the other side when I use vs2010 I can compile the sdk project with no error.

Thank for your help.

the code + batch file with the command to compile :

compil.zip (1.79 KB)

I use CUDA Toolkit 4.0 64bit and visual studio 2010 compiler.

Configuration - Summary.pdf (914 KB)

ok, I have find. I don’t really understand why, but this happened because I have created my windows work session after installing cuda tools.
This has nothing to do with 64 bit or 32 bit version.