-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS arm64 custom build cannot link latest MoltenVK library with Xcode < 14 #68512
Comments
Hello. It builds fine on M1 Pro, Ventura. Can you please run |
I ran scons --clean and brew installed molten-vk, but attempting to compile master to arm64 still failed, while x86 still worked. I'll compile macos-homebrew-moltenvk as soon as scons is done. |
Try cleaning the tree with
MoltenVK installed from homebrew currently is not auto-detected. |
Actual issue is the same as #68080 (comment), MoltenVK SDK is compiled with XCode 14, and won't work with older versions of XCode. |
Ah indeed, I hadn't seen it as the screenshot was cropped but the linking errors are in the pastebin. Copying here as pastebins tend to expire:
We reported this issue upstream: KhronosGroup/MoltenVK#1756 For now your options are either:
|
Godot version
latest master (d2bd8e5)
System information
macOS Monterey 12.0.1 M1 (arm64) Vulkan
Issue description
Following the godot latest docs' instructions to compile godot from source to arm64 fails.
I am able to compile to arch=x86_64 just fine by following the instructions, but when I attempt to compile to arm64 it fatals (complete error log: https://pastebin.com/MMUuUggt)
I have downloaded and installed Vulkan via the linked installer on the docs but it for some reason doesn't seem to have properly installed the arm64 libraries (x86_64 remain unaffected for some reason).
Images showing x86_64 working fine but arm64 failing are below.
Steps to reproduce
scons platform=macos arch=x86_64 --jobs=$(sysctl -n hw.logicalcpu)
and it compiles with no errorsscons platform=macos arch=arm64 --jobs=$(sysctl -n hw.logicalcpu)
and it does not compileMinimal reproduction project
No response
The text was updated successfully, but these errors were encountered: