NVIDIA / NVIDIA/cuda-samples

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

Open
#222 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
9.6k
Forks
2.4k
Avg merge
53m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported nvcc error and compare the cl.exe location in PATH with the compiler specified by --ccbin. Determine a supported way to resolve the conflicting compiler paths without removing Bullseye Coverage, then document or verify the resulting CUDA compilation setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, hpc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.