MoltenVK icon indicating copy to clipboard operation
MoltenVK copied to clipboard

Unresolved symbols missing from libMoltenVK.dylib

Open tim-rex opened this issue 1 year ago • 1 comments

Having followed the documentation here regarding initial setup of MoltenVK, I'm encountering linker issues relating to the following unresolved symbols:

  • CreateDisplayPlaneSurfaceKHR
  • vkGetDisplayModeProperties2KHR
  • vkGetDisplayPlaneCapabilities2KHR
  • vkGetPhysicalDeviceDisplayPlaneProperties2KHR

Sure enough, those symbols are not found in libMoltenVK.dylib Neither do those symbols exist in the XCFramework: MoltenVK.xcframework/macos-arm64_x86_64/libMoltenVK.a

While the relevant symbols can be located in libvulkan.1.3.250.dylib, it does not form part of the documentation referenced above.

Linking against libvulkan.1.3.250.dylib does appear to resolve the linker issues.

tim-rex avatar Jun 24 '23 15:06 tim-rex