Skip to content

Windows build not working #7891

Description

@MennoVink

Environment:

  • OS: Windows
  • SDK or header version if building from repo: vulkan-sdk-1.3.280

Describe the Issue

I cannot build the repo after having a fresh checkout. First i checked opening the folder with CMake GUI. When that didn't work i followed these steps which are giving me the same problems:

-- Detecting CXX compile features - done
-- Could NOT find robin_hood (missing: robin_hood_DIR)
-- Could NOT find mimalloc (missing: mimalloc_DIR)
-- Configuring done
CMake Error at layers/CMakeLists.txt:75 (target_link_libraries):
  Target "VkLayer_utils" links to:

    Vulkan::Headers

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at layers/CMakeLists.txt:376 (target_link_libraries):
  Target "vvl" links to:

    SPIRV-Headers::SPIRV-Headers

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at layers/gpu_validation/spirv/CMakeLists.txt:47 (target_link_libraries):
  Target "gpu_av_spirv" links to:

    SPIRV-Headers::SPIRV-Headers

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Expected behavior

With cmake gui i expect to be able to select the source directory, target directory as build subfolder and then press Configure->Generate->Open Project and end up in a visual studio instance able to build the project.

Additional context

The steps here do give me a visual studio project. But it wont build in release nor will the test explorer allow me to run any tests.

Metadata

Metadata

Assignees

Labels

BuildIssues with the build

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions