NVIDIA / cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit
Other
6.47k stars 1.83k forks source link

NVCC error: Not able to compile. [cl.exe in PATH is different than --ccbin] #222

Open mohandarsi opened 1 year ago

mohandarsi commented 1 year ago

I get following error while compiling the cuda project.

nvcc fatal : cl.exe in PATH (C:/Program Files (x86)/Coverage/bin/x64) is different than one specified with -ccbin (C:/VS2019/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64)

Removing/ renaming the Bulls eye coverage is not an option as we use this software for other applications. And we are introducing cud computation for other part of software.

Not sure how to get rid of this error.