cl.exe is unable to create an executable file. C compiler test failed.

错误:

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”
发布了2654 篇原创文章 · 获赞 352 · 访问量 210万+

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/105392646
今日推荐