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
在macOS上编译i386架构的库时遇到错误提示:'i386架构已被废弃'。原因是10.14SDK的库不再支持i386,仅包含x86_64部分。解决方法可能涉及使用10.13SDK,但这将需要调整构建过程。

1859

被折叠的 条评论
为什么被折叠?



