ogg.framework 缺少 arm64e 二进制文件/库 (m1 mac)

ogg.framework 缺少 arm64e 二进制文件/库 (m1 mac)

因此,我尝试运行一款从源代码编译的游戏,它需要依赖项,例如libogg。当我编译游戏并尝试运行它时,出现了错误

dyld[26732]: Library not loaded: @rpath/../Frameworks/ogg.framework/Versions/A/ogg
  Referenced from: /Users/jason/Games/unnamed-sdvx-clone/bin/usc-game
  Reason: tried: '/Library/Frameworks/ogg.framework/Versions/A/ogg' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/System/Library/Frameworks/ogg.framework/Versions/A/ogg' (no such file)
zsh: abort      ./usc-game

我在游戏的 github 存储库中提出了一个问题,我被告知这是一个系统问题,所以我来到这里

然后我使用file ogg

ogg: Mach-O universal binary with 2 architectures: [i386:Mach-O dynamically linked shared library i386Mach-O dynamically linked shared library i386] [x86_64:Mach-O 64-bit dynamically linked shared library x86_64Mach-O 64-bit dynamically linked shared library x86_64]
ogg (for architecture i386):    Mach-O dynamically linked shared library i386
ogg (for architecture x86_64):  Mach-O 64-bit dynamically linked shared library x86_64

事实证明我没有这个框架的原生 arm 版本,我需要一些帮助来获取这个框架的 arm 构建,或者一些有关这个框架的信息来解决这个问题......

相关内容