Skip to content

Symbolic link needs additional privileges with Win11. #447

Description

@asuessenbach

When I try to configure this repo, I get this error:

CMake Error at CMake/Findtinygltf.cmake:80 (file):
  file failed to create symbolic link
  'C:/GitHub/Vulkan-Tutorial/builds/VS2026_64/_deps/tinygltf-src/nlohmann/json.hpp':
  A required privilege is not held by the client.

The culprit for this message is line 80 in attachments/CMake/Findtinygltf.cmake:
file(CREATE_LINK "${tinygltf_SOURCE_DIR}/json.hpp" "${tinygltf_SOURCE_DIR}/nlohmann/json.hpp" SYMBOLIC)

It seems, you need additional privileges to create a symbolic link with Win11.

What is that link used for? When I just skip this line, everthing is configured and generated without issues, and everything builds fine as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions