Skip to content
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] Replace MoltenVK framework with dylibs #52

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

ptxmac
Copy link
Contributor

@ptxmac ptxmac commented Apr 2, 2021

No description provided.

@xlab xlab merged commit bc65243 into vulkan-go:master Apr 2, 2021
@garymm
Copy link

garymm commented Sep 19, 2022

@ptxmac LMK if there's a better forum to discuss this, but I'm seeing some strange behavior.
The libMoltenVK.dylib seems to behave differently if it's packaged with my app on its RPATH vs in /usr/local/lib.

When I package it with my application, at runtime it says that it is missing VK_KHR_get_physical_device_properties2. When I have it installed in /usr/local/lib it works as expected.

I've also tried linking statically against libMoltenVK.a, same results.

LMK if you have any idea what's going on. Thanks!

@garymm
Copy link

garymm commented Sep 19, 2022

Ah I figured this out. I was linking the library properly, but at runtime the Vulkan code looks for /share/vulkan/icd.d/MoltenVK_icd.json. I'm now trying to figure out how to package that with a go binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants