hello vulkan
This commit is contained in:
25
README.md
25
README.md
@@ -18,7 +18,30 @@ $ git clone --recurse-submodules https://git.vxbard.net/homeburger/maiden.git
|
||||
# If you have already cloned the repository and you need its submodules:
|
||||
$ git submodule update --init --recursive
|
||||
```
|
||||
### Build
|
||||
|
||||
### Installation Prequisites
|
||||
LunarG's Vulkan SDK is used for almost every Vulkan project, including this one.
|
||||
Installation instructions here are for Ubuntu 24, further instructions can be found here: https://vulkan.lunarg.com/doc/sdk/1.4.341.1/linux/getting_started.html
|
||||
```bash
|
||||
$ cd ~/Downloads
|
||||
$ wget "https://sdk.lunarg.com/sdk/download/1.4.341.1/linux/vulkansdk-linux-x86_64-1.4.341.1.tar.xz" # or the latest version on https://vulkan.lunarg.com/sdk/home
|
||||
$ mkdir /opt/vulkan-sdk
|
||||
$ cd /opt/vulkan-sdk
|
||||
$ tar -xvf ~/Downloads/vulkansdk-linux-x86_64-1.4.341.1.tar.xz
|
||||
$ sudo apt install libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev # vulkan prerequeisites
|
||||
```
|
||||
Then to setup your current session:
|
||||
```bash
|
||||
$ source /opt/vulkan-sdk/1.4.341.1/setup-env.sh # or whichever version you have
|
||||
```
|
||||
Note: sourcing only affects your current shell session. Add to your .bashrc script if you wish for it to persist.
|
||||
|
||||
Verify your installation by using the the command:
|
||||
```bash
|
||||
$ vulkaninfo
|
||||
```
|
||||
|
||||
### Build
|
||||
This app uses CMake and C++20, so a compatible compiler (gcc8, clang9, msvc16) are necessary.
|
||||
|
||||
Most library prerequisites are handled within CMake. Any others that need to be manually installed will be described below as the project grows.
|
||||
|
||||
Reference in New Issue
Block a user