Error Messages:
bug error: command ‘\XXX\VS2015\VC\BIN\x86_amd64\link.exe‘ failed with exit status 1158
Solution:
Because some of the previous system configurations are gone, reinstall things such as vs and buildtools, but there are many problems in the installation process, and there are always missing things. Record the contents that are difficult to find here
prompt error when the program is running: error: command ‘\XXX\VS2015\VC\BIN\x86_amd64\link.exe‘ failed with exit status 1158
background display
I read the online solution, that is, vs is missing two files rc.exe and rcdl.dll can’t run, but I can’t find these two files according to the online path
the path of others is:
C:\Program Files(×86)Windows Kits\8.1\bin\×86
I found it in this path
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64
or
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86
both can be used
in short, these two files are rc.exe andrcdl.dll must be in the path of C:\Program Files (x86)\Windows Kits, but the location of different system configurations may be different. This is probably related to some things you installed. Look carefully
then copy the two files to
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64
Or C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
you can solve the problem by installing Microsoft Visual Studio 14.0
Read More:
- cl.exe Error resolution of ‘failed with exit status 2
- ’nvcc.exe‘ failed with exit status 1
- Collect2.exe: error: LD returned 5 exit status solution
- About the problem of collect2.exe [error] LD returned 1 exit status in dev!!!
- Solutions to the problem of “collect2.exe: error: LD returned 1” exit “status when writing C + + with vscode
- undefined reference to `WinMain‘collect2.exe: error: ld returned 1 exit status
- Running trust error reporting linker ‘link. Exe’ not found on Windows
- Link: fatal error LNK1104: cannot open file “debug”/ xx.exe The question of
- command ‘gcc‘ failed with exit status 4
- Unable to install SQL Server (setup.exe), VS Shell installation has failed with exit code 1638.
- command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Install Python package under MacOS: “error: Command ‘GCC’ failed with exit status 1”
- Solve the problem of “error msb6006: link.exe Exited, bad method with code 2
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation
- LINK : fatal error LNK1168: cannot open Debug/1.exe for writing
- Ubuntu16.04 pip3 install PyAudio 出错:error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1, Raspberry Pi installation paramiko
- Error: LTO wrapper failed collect2: error: LD returned 1 exit status
- Error: Command ‘arm linux gnueabihf GCC’ failed with exit status 1, raspberry pie install paramiko