How can I set the -ccbin option of nvcc for my Visual Studio projects? I have a problem with VS Inte


The basic question I have is, how can I set the -ccbin option of nvcc for my Visual Studio projects?

I have a C++ build that uses the Visual Studio integration (CUDA 4.0.props, CUDA 4.0.targets, etc). I am attempting to run Bullseye Code Coverage tool on my project. The way that Bullseye does this is by calling their version of cl.exe (which in turn, calls VS’s cl.exe). The problem I am running into is with my CUDA compilations.

I am getting this error:
nvcc fatal : Compiler ‘cl’ in PATH different than the one specified with -ccbin

because my nvcc.exe has this in it:
-ccbin “c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin”
If I could change this to the Bullseye directory that cl is actually getting called from, I think it would work. However, as much as I look, I can cannot find out where I can change this. I checked CUDA 4.0.props, which has -ccbin set, but it seems that it is only set for the text of the commandline, not the actual command line.

Is this hardcoded in the Nvda.Build.CudaTasks.dll? or can I override the ccbin path to use my cl.exe instead of Microsofts?

  • Thanks

Hello guys,
any progress in this issue?
We have faced the same one and can’t solve it…

BullseyeCoverage tech support answered:
“BullseyeCoverage does not support NVidia CUDA.”