-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile linux.txt
14 lines (11 loc) · 1.14 KB
/
compile linux.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# ubuntu 22.04 (https://vulkan.lunarg.com/sdk/home#linux)
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.236-jammy.list https://packages.lunarg.com/vulkan/1.3.236/lunarg-vulkan-1.3.236-jammy.list
sudo apt update
sudo apt install vulkan-sdk python3-pip pkg-config
sudo apt-get install libssl-dev libxcb-util0-dev libxcb-util-dev libx11-xcb-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev libfontenc-dev libice-dev libsm-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev libxxf86vm-dev uuid-dev
pip3 install conan
# build on linux
cd /mnt/c/boulot/works/Vulkanite/build_linux
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --verbose --config Release -j 19 --target install