Recently, the system was reinstalled because the computer was too jammed. In order to avoid repeating the same mistake, there is almost no software installed in C disk, including VS. However, when using CMAKE to compile CUDA program, there are problems:
Error MSB6006: “cmd.exe” has exited with code 1.
Google found that it should be because the default VS installation path of CUDA is on C disk, so it could not be found. The solution is to find the CUDA_HOST_COMPILER item in cmake-gui and change it to your own compiled path, such as mine:
This should compile properly.
Error MSB6006: “cmd.exe” has exited with code 1.
Google found that it should be because the default VS installation path of CUDA is on C disk, so it could not be found. The solution is to find the CUDA_HOST_COMPILER item in cmake-gui and change it to your own compiled path, such as mine:
This should compile properly.
Read More:
- Compiling QT project under vs encountered “error 89error msb6006:“ cmd.exe ”Exited with code 3
- Vs compilation error msb6006:“ cmd.exe ” exited with code 1.
- error MSB6006: cmd.exe “exited with code 3
- Solve the problem of “error msb6006: link.exe Exited, bad method with code 2
- error MSB6006: “mt.exe” exited with code 31 solution
- Vs + CUDA compilation error: msb3721, return code 255
- Go compiles the EXE executable to remove the CMD window at run time
- Vs2013 error msb8031 solution today ran a MFC program, found that the error: error msb8031: building an MFC project for a non-U
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- Python packaged *. Exe is running os.popen (cmd)/ subprocess.Popen *. Exe crashes with invalid [winerror 6] handle
- Unable to install SQL Server (setup.exe), VS Shell installation has failed with exit code 1638.
- Install error after vs compilation (error msb3073)
- Solution of error msb3073 when compiling with vs
- Error msb3428 appears in NPM install: could not load the visual c + + component VCBuild.exe error
- FCOS No CUDA runtime is found, using CUDA_HOME=’/usr/local/cuda-10.0′
- VS2015 TRK0005 CL.exe
- code is 143 Container exited with a non-zero exit code 143
- Error resolution-“Error in configuration process, project files may be invalid” appears when Cmake compiles openCV
- Error C1083 error msb3075 in UE4 generated by vs2019 debug editor
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid