BullseyeCoverage
nvcc fatal: Compiler 'cl.exe' in PATH different than the one specified with -ccbin
Nvidia CUDA prior to 11.6 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.
Upgrade to CUDA 11.6 or later.
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: 5 Aug 2024
Copyright © Bullseye Testing Technology. All Rights Reserved.