【编译工具】之macOS10.14编译i386问题

1. mac编译

1.1 编译错误

在mac电脑上编译i386的库时出现以下错误:

The i386 architecture is deprecated for macOS 
1.2 原因

It looks like the SDK libraries (or at least one of them) shipped in the 10.14 SDK are no longer multi-arch and only contain x86_64 sections. You won’t be able to use them to link i386 binaries.
You can probably still use the 10.13 SDK under 10.14, but doing so is likely going to involve lots of fiddling with the build process.

参考网址:

https://github.com/ValveSoftware/Proton/issues/108
https://stackoverflow.com/questions/53610512/i386-architecture-deprecated-in-macos-error

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值