3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Vulkan日記その1: HomebrewでVulkanをインストール

Last updated at Posted at 2024-11-01

今年のQiita Advent Calendar 2024での連載記事の1つは,Vulkanにしようかなと思いました.行き当たりばったりでつらつらと書きます.

まずは,Homebrewでインストールを試みてみます.

brew update
brew search vulkan

とすると,次のFormulaeがあるようです.

  • vulkan-extensionlayer
  • vulkan-headers
  • vulkan-loader
  • vulkan-profiles
  • vulkan-tools
  • vulkan-utility-libraries
  • vulkan-validationlayers
  • vulkan-volk

全部入れてみました.

brew install vulkan-extensionlayer vulkan-headers vulkan-loader vulkan-profiles vulkan-tools vulkan-utility-libraries vulkan-validationlayers vulkan-volk

それぞれインストールされたディレクトリを確認します.

brew --prefix vulkan-extensionlayer vulkan-headers vulkan-loader vulkan-profiles vulkan-tools vulkan-utility-libraries vulkan-validationlayers vulkan-volk

インストールされた全てのファイルの確認方法は次のとおりです.

brew --prefix vulkan-extensionlayer vulkan-headers vulkan-loader vulkan-profiles vulkan-tools vulkan-utility-libraries vulkan-validationlayers vulkan-volk | xargs -I {} find {}/

下記のドキュメントの Verify the SDK Installation に沿ってコマンドがインストールされているかを確認します.

まず vkvia

brew --prefix vulkan-extensionlayer vulkan-headers vulkan-loader vulkan-profiles vulkan-tools vulkan-utility-libraries vulkan-validationlayers vulkan-volk | xargs -I {} find {}/ | grep vkvia

あれ,無い.

探してみると,下記レポジトリをビルドするっぽい.必要になったらビルドするか.

次に,vulkaninfo

brew --prefix vulkan-extensionlayer vulkan-headers vulkan-loader vulkan-profiles vulkan-tools vulkan-utility-libraries vulkan-validationlayers vulkan-volk | xargs -I {} find {}/ | grep vulkaninfo

ありそう.

最後に vkcube

brew --prefix vulkan-extensionlayer vulkan-headers vulkan-loader vulkan-profiles vulkan-tools vulkan-utility-libraries vulkan-validationlayers vulkan-volk | xargs -I {} find {}/ | grep vkcube

あるっぽい.

つづく

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?