Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

running on mac. #11

Description

@figo2264
error[E0432]: unresolved import `metal::CoreAnimationLayer`
  --> crates/libs/vulkan/src/utils/platforms.rs:19:5
   |
19 | use metal::CoreAnimationLayer;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CoreAnimationLayer` in the root

error[E0405]: cannot find trait `EntryV1_0` in this scope
  --> crates/libs/vulkan/src/utils/platforms.rs:76:33
   |
76 | pub unsafe fn create_surface<E: EntryV1_0, I: InstanceV1_0>(
   |                                 ^^^^^^^^^ not found in this scope

error[E0405]: cannot find trait `InstanceV1_0` in this scope
  --> crates/libs/vulkan/src/utils/platforms.rs:76:47
   |
76 | pub unsafe fn create_surface<E: EntryV1_0, I: InstanceV1_0>(
   |                                               ^^^^^^^^^^^^ not found in this scope

warning: unused imports: `Entry`, `Instance`
 --> crates/libs/vulkan/src/utils/platforms.rs:2:11
  |
2 | use ash::{Entry, Instance};
  |           ^^^^^  ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Some errors have detailed explanations: E0405, E0432.
For more information about an error, try `rustc --explain E0405`.
warning: `vulkan` (lib) generated 1 warning
error: could not compile `vulkan` (lib) due to 3 previous errors; 1 warning emitted
warning: build failed, waiting for other jobs to finish...

Somehow when I run cargo run or build, it failed to build with those messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions