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

go get fails on macOS Mojave #44

Open
RobinWragg opened this issue Apr 20, 2020 · 0 comments
Open

go get fails on macOS Mojave #44

RobinWragg opened this issue Apr 20, 2020 · 0 comments

Comments

@RobinWragg
Copy link

After adding MoltenVK.framework and vulkan.framework to /Library/Frameworks, I ran go get github.com/vulkan-go/vulkan which gave me this:

# github.com/vulkan-go/vulkan
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_CAEDRMetadata", referenced from:
      objc-class-ref in MoltenVK(libMoltenVK.a-x86_64-master.o)
  "_kCGColorSpaceITUR_2020_HLG", referenced from:
      MVKSwapchain::initCAMetalLayer(VkSwapchainCreateInfoKHR const*, unsigned int) in MoltenVK(libMoltenVK.a-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It appears MoltenVK isn't able to link with QuartzCore and other system frameworks. Is there a step I'm missing or is this broken for other people too? I'm not able to test this on Catalina. I intend to use these bindings with github.com/veandco/go-sdl2. Thanks

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

No branches or pull requests

1 participant