天天看點

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”

繼續閱讀