MoltenVK with Volkano


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1141
    bsder
    Participant

      I’d like to use MoltenVK with Volkano (the Rust bindings for Vulkan).

      Is it possible to compile with MoltenVK without XCode?

      Thanks.

      #1142
      Bill Hollings
      Keymaster

        If not using Xcode, what tool will you compile your app (and MoltenVK) with?

        If you are using Make, etc, you should still be able to use the MoltenVK framework. You can also use the static library within the MoltenVK framework directly.

        …Bill

        #1163
        robertwhurst
        Participant

          Hi Bill,

          My name is Robert. I’m working with the author of Vulkano to add support for macOS via MoltenVK. We’re making progress, but we’ve hit a snag. Our efforts can be reviewed here.

          Perhaps you can shed some light on this exception?

          
          $ ../target/debug/triangle
          [mvk-info] Device AMD Radeon R9 M370X supports Metal Feature Set: macOS GPU Family 1 v1
          [mvk-info] Device Intel Iris Pro Graphics supports Metal Feature Set: macOS GPU Family 1 v1
          Using device: AMD Radeon R9 M370X (type: DiscreteGpu)
          [***MoltenVK ERROR***] VK_ERROR_INITIALIZATION_FAILED: On-screen rendering requires a view that is backed by a layer of type CAMetalLayer.
          thread 'main' panicked at 'unexpected error: InitializationFailed', /Users/rhurst/Developer/Personal/vulkano/vulkano/src/swapchain/surface.rs:589
          note: Run with <code>RUST_BACKTRACE=1</code> for a backtrace.
          
        Viewing 3 posts - 1 through 3 (of 3 total)
        • The forum ‘MoltenVK Support’ is closed to new topics and replies.