2019-12-14 20:43:49 +00:00
|
|
|
# How to compile on a Raspberry Pi
|
|
|
|
|
2020-06-18 17:53:40 +01:00
|
|
|
### Install prerequisites
|
|
|
|
sudo apt-get install cmake
|
|
|
|
|
2019-12-14 20:43:49 +00:00
|
|
|
### Clone RPi VK Driver
|
|
|
|
git clone https://github.com/Yours3lf/rpi-vk-driver.git
|
|
|
|
cd rpi-vk-driver
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
### Run CMake
|
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
|
|
|
### Build project
|
|
|
|
cmake --build . --target all
|
|
|
|
|
|
|
|
### Run install.sh
|
2020-06-18 17:53:40 +01:00
|
|
|
../install.sh
|
2019-12-14 20:43:49 +00:00
|
|
|
|
2020-06-18 17:53:40 +01:00
|
|
|
### Install the Vulkan-Loader
|
|
|
|
Follow the Vulkan-Loader repository instructions to build and install the Vulkan-Loader:
|
|
|
|
https://github.com/KhronosGroup/Vulkan-Loader/blob/master/BUILD.md
|
2019-12-14 20:43:49 +00:00
|
|
|
|