nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
519 stars 25 forks source link

Ubuntu package names for dependancies #222

Open ItsRogueRen opened 1 month ago

ItsRogueRen commented 1 month ago

Been trying for an hour to compile this on Ubuntu but keep failing as nearly every single dependency is called something different on Ubuntu. Would it be possible to update the README with a section for all the dependencies with their Ubuntu package names, since Ubuntu is the official native package for OBS?

ItsRogueRen commented 1 month ago

on Ubuntu 22.04 you need to do the following:

If you're using Distrobox and want to use the OBS PPA, start with sudo apt install software-properties-common

Followed by the PPA sudo add-apt-repository ppa:obsproject/obs-studio

update your system with sudo apt update

and then install the following sudo apt install git ffmpeg obs-studio cmake libvulkan-dev libgl1-mesa-dev libegl1-mesa-dev libx11-dev libxcb1-dev libwayland-dev wayland-protocols pkg-config

Follow the build instructions from there, clone the repo git clone https://github.com/nowrep/obs-vkcapture.git

move to the folder cd obs-vkcapture

And then build with the following commands

mkdir build && cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..

make && sudo make install