環境
- Windows 10
- vcpkg 2018.11.23-nohash
本題
Vulkan プログラミングの環境を構築しようと構築手順を説明している記事を読んでいると、 Vulkan SDK を以下のページからダウンロードしてインストールするように書いてあります。
https://vulkan.lunarg.com/sdk/home
一方、vcpkg を確認すると、vulkan という名前のパッケージがあります。 vcpkg からもインストールできるのかと試したところ、 以下の通りVulkan SDK をインストールするように言われます。
$ vcpkg.exe install vulkan:x64-windows The following packages will be built and installed: vulkan[core]:x64-windows Starting package 1/1: vulkan:x64-windows Building package vulkan[core]:x64-windows... -- Querying VULKAN_SDK Enviroment variable CMake Error at ports/vulkan/portfile.cmake:12 (message): Could not find Vulkan SDK. Before continuing, please download and install Vulkan from: https://vulkan.lunarg.com/sdk/home Call Stack (most recent call first): scripts/ports.cmake:71 (include) Error: Building package vulkan:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with `.\vcpkg update`, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: vulkan:x64-windows Vcpkg version: 2018.11.23-nohash Additionally, attach any relevant sections from the log files above.
先ほど示したURLも載っています。 vcpkg からVulkan SDK をインストールできるわけでは無いみたいですね。