Skip to content

Reonarudo/VKSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

VKSwift

This is a project template for Linux Swift apps running the Vulkan SDK.

Instalation procedure

Everything was built and tested on Xubuntu 18.04 Swift is installed from the official website. This project currently depends on version 4.2.

sudo apt-get install clang libicu-dev libcurl4
wget https://swift.org/builds/swift-4.2.2-release/ubuntu1804/swift-4.2.2-RELEASE/swift-4.2.2-RELEASE-ubuntu18.04.tar.gz
tar xvpf swift-4.2.2-RELEASE-ubuntu18.04.tar.gz
export PATH=~/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin:$PATH

You might want to export the path on session launch

Vulkan & GLFW was installed adding the official package and apt-get

sudo apt-get install libglm-dev cmake libxcb-dri3-0 libxcb-present0 libpciaccess0 \
libpng-dev libxcb-keysyms1-dev libxcb-dri3-dev libx11-dev \
libmirclient-dev libwayland-dev libxrandr-dev libxcb-ewmh-dev libglfw3-dev libglfw3-wayland
wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.1.97-bionic.list http://packages.lunarg.com/vulkan/1.1.97/lunarg-vulkan-1.1.97-bionic.list
sudo apt update
sudo apt install lunarg-vulkan-sdk

About

Linux Swift Vulkan project template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages