Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save 2439905184/96ca752f42239fddc84e93fd038a1bcc to your computer and use it in GitHub Desktop.

Select an option

Save 2439905184/96ca752f42239fddc84e93fd038a1bcc to your computer and use it in GitHub Desktop.
编译Godot引擎,最后一步的链接问题
此配置适用于我:
Parallels VM
gcc 上的 Ubuntu 21.10 ARM64 (Ubuntu 11.2.0-7ubuntu2) 11.2.0 或 Ubuntu clang 版本 13.0.0-2
使用的命令:(对于 GCC)
或(对于 Clang)
3.x 使用上述命令,并且主分支也有效(但 p=linuxbsd 而不是 p=x11)。scons -j6 arch=arm64 p=x11 tools=yes module_gdnative_enabled=noscons -j6 arch=arm64 p=x11 tools=yes use_llvm=yes
Godot 3.3 和 3.4 在 Mageia 8 和 Fedora 33+ 上都为我构建得很好。我想这里的问题可能是 Debian 10 的旧工具链中的一个错误/不完整的 aarch64 支持。
我建议尝试使用更新的操作系统,或者至少是更新的GCC和binutils版本。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment