错误:
cl.exe is unable to create an executable file.
C compiler test failed.
具体错误要查看查看config.log。
- LINK : fatal error LNK1104: 无法打开文件“kernel32.lib”
参考:
https://blog.csdn.net/quantum7/article/details/105393036
- configure: line 974: cl.exe: command not found
.bashrc中:
export PATH=${PATH}:/C/'Program Files (x86)'/'Microsoft Visual Studio 14.0'/VC/bin/amd64
- LINK : fatal error LNK1104: 无法打开文件“ucrt.lib”

本文探讨了在使用Microsoft Visual Studio进行编译时遇到的cl.exe无法创建可执行文件及LINK致命错误LNK1104的问题。通过检查config.log文件,定位到kernel32.lib和ucrt.lib文件缺失,并提供了修改.bashrc中PATH环境变量的方法。
5027

被折叠的 条评论
为什么被折叠?



