BullseyeCoverage
nvcc fatal: Compiler 'cl.exe' in PATH different than the one specified with -ccbin
Nvidia CUDA is incompatible with BullseyeCoverage.
When nvcc
finds the BullseyeCoverage cl.exe
,
it detects that it is not the Microsoft compiler.
Rather than continuing to search,
it fails with an error as shown above.
Disable the BullseyeCoverage integration for all versions of Microsoft C++ before building any CUDA projects. You can disable and enable the Microsoft C++ integration using the Coverage Browser menu command Tools Options.
cmd
and click Run as administrator
.
Exercise caution and enter commands carefully.
C:\Windows\System32> cd %PROGRAMFILES%\BullseyeCoverage\bin C:\Program Files\BullseyeCoverage\bin> rename cl.exe cl.exe-
C:\Windows\System32> cd %PROGRAMFILES%\BullseyeCoverage\bin C:\Program Files\BullseyeCoverage\bin> rename cl.exe- cl.exe
Updated: 9 Aug 2023
Copyright © Bullseye Testing Technology. All Rights Reserved.