mac更新为Mojave 10.14时,安装环境报错

mac更新为Mojave 10.14时,安装环境报错

mac新更新的mojave 10.14系统,结果安装项目环境依赖时报错。

clang: error: no such file or directory: 'build/temp.macosx-10.9-x86_64-3.6/_imagingtk.o'
clang: error: no such file or directory: 'build/temp.macosx-10.9-x86_64-3.6/Tk/tkImaging.o'
error: command 'gcc' failed with exit status 1

查资料后解决:

sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

猜你喜欢

转载自blog.csdn.net/weixin_44702456/article/details/88022358