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”

 

你可能感兴趣的:(C/C++,Windows/Cygwin)