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

boomwu

关注

阅读 89

2022-01-28


错误:

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

具体错误要查看查看config.log。 

  • LINK : fatal error LNK1104: 无法打开文件“kernel32.lib”

参考:

  • 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”



精彩评论(0)

0 0 举报