vs2019:nvcc fatal : Cannot find compiler ‘ cl.exe ‘ in PATH
Three steps:
- Step 1:
add the following two positions to the nameless variable path list of system variables
Step 2:
create a new variable named Lib, add three locations for it: C: program files (x86), Microsoft Visual Studio, 2019, community, VC, tools, MSVC, 14.27.29110, lib, x64
C: program files (x86), windows kits, 10, lib, 10.0.18362.0, ucrt, x64
C: Program files (x86), windows kits, 10, lib, 10.0.18362.0, um, x64 step 3:
create a new variable named include in the system variable, and add 2 Location: C: program files (x86) – Microsoft Visual Studio (2019) – Community (VC) – tools – MSVC (14.27.29110) – include
C: program files (x86) – Windows kits (10) – lib (10.0.18362.0) – ucrt
Reference article: http://iliutong.cn/2019/01/20/nvcc-cu-file-in-console-in-windows/
Read More:
- VS2015 TRK0005 CL.exe
- Install Python C extension compiler environment under windows (solve “error: command” cl.exe ‘ failed: No such file or directory”)
- CMake Error at CMakeLists.txt:5 (PROJECT): The CMAKE_C_COMPILER: cl is not a full path
- error TRK0005: Failed to locate: “CL.exe”. The system cannot find the file specified.
- cl.exe Error resolution of ‘failed with exit status 2
- ’nvcc.exe‘ failed with exit status 1
- The solution of configuring OpenGL in vs2017
- [Solved] qt5.9 + vs2015 32bit Error: “-1: error: LNK1158: Can not Run “rc.exe”
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory
- Error creating bean with name ‘feignTargeter‘ defined in class path resource [org/springframework/cl
- Solution to the problem that OpenGL can’t find glew32.dll in vs2019
- CodeBlocks environment error the compiler could not find a solution to the problem
- Configuration: error: no acceptable C compiler found in $path
- configure: error: no acceptable C compiler found in $PATH
- [graphics] exceptions in downloading and installing OpenGL in vs2017
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- The C compiler identification is unknown solution
- Solution to the problem of unable to open glaux. H in vs2013
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python
- Error: no acceptable C compiler found in $path