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

Issues with linking the Dynamic Libraries and Framework #260

Open
EmersonSnow opened this issue Sep 18, 2018 · 2 comments
Open

Issues with linking the Dynamic Libraries and Framework #260

EmersonSnow opened this issue Sep 18, 2018 · 2 comments

Comments

@EmersonSnow
Copy link

Hello,

I've been trying to get MoltenVK to work on Xcode 10, but I keep getting this error -
dyld: Library not loaded: @rpath/vulkan.framework/Versions/A/vulkan
Referenced from: /Users/[USER]/Library/Developer/Xcode/DerivedData/zelmVulkan_2-cvwobrsogaphvjaktlktklefnfkd/Build/Products/Debug/zelmVulkan_2

I've tried copying files during compile time, with no joy either. Is it an issue with the way I'm linking, or general bug with Xcode 10?

@billhollings
Copy link
Contributor

@EmersonSnow

MoltenVK builds in Xcode 10 without issues.

How are you trying to build MoltenVK?

What is vulkan.framework?

Could this be a Vulkan SDK issue?

@cdavis5e
Copy link
Collaborator

The linker error message suggests you may not setting the "Runpath Search Paths" setting in Xcode. Explanation: the @rpath in a dylib's install name is substituted in turn with each of the paths specified by LC_RPATH load commands in the main executable, which you set from the command line with the linker's -rpath option, and which Xcode sets for you via the "Runpath Search Paths" setting.

(Also, I'm pretty sure vulkan.framework is from LunarG's SDK.)

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

No branches or pull requests

3 participants