I'm using the install-vulkan-sdk GitHub Action to install the Vulkan SDK together with all dependencies like this:
- name: Install Vulkan SDK
uses: humbletim/install-vulkan-sdk@v1.2
with:
version: latest
cache: true
Then, in the next step I am trying to build my project using CMake, and one of the CMakeLists.txt of my project contains this line:
find_package(Vulkan REQUIRED COMPONENTS glslc glslang SPIRV-Tools)
which calls the FindVulkan module:
https://github.com/Kitware/CMake/blob/master/Modules/FindVulkan.cmake
However, this part of the building always fails, with the following message:
CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR glslang
SPIRV-Tools) (found version "")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.31/Modules/FindVulkan.cmake:595 (find_package_handle_standard_args)
OloEngine/CMakeLists.txt:30 (find_package)
I'm not sure if it is a problem with installing the Vulkan SDK through this action, or if it is caused by some issue in the FindVulkan module, but at least on my local system, the FindVulkan module is working just fine.
I'm using the install-vulkan-sdk GitHub Action to install the Vulkan SDK together with all dependencies like this:
uses: humbletim/install-vulkan-sdk@v1.2
with:
version: latest
cache: true
Then, in the next step I am trying to build my project using CMake, and one of the CMakeLists.txt of my project contains this line:
find_package(Vulkan REQUIRED COMPONENTS glslc glslang SPIRV-Tools)
which calls the FindVulkan module:
https://github.com/Kitware/CMake/blob/master/Modules/FindVulkan.cmake
However, this part of the building always fails, with the following message:
CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR glslang
SPIRV-Tools) (found version "")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.31/Modules/FindVulkan.cmake:595 (find_package_handle_standard_args)
OloEngine/CMakeLists.txt:30 (find_package)
I'm not sure if it is a problem with installing the Vulkan SDK through this action, or if it is caused by some issue in the FindVulkan module, but at least on my local system, the FindVulkan module is working just fine.