Update build instructions

This commit is contained in:
WarmUpTill 2021-09-06 21:51:36 +02:00 committed by WarmUpTill
parent 1fd724e4f4
commit aea9d1b319

View File

@ -22,13 +22,15 @@ add_subdirectory(SceneSwitcher)
Now follow the [build instructions for obs-studio](https://obsproject.com/wiki/install-instructions) for your particular platform.
Note that on Linux systems it might be necessary to additionally install the following packages to fulfill the dependencies to `XTest` and `XScreensaver` - exact command may differ:
Note that on Linux systems it might be necessary to additionally install the following packages to fulfill the dependencies to `XTest`, `XScreensaver` and `OpenCV` - exact command may differ:
```
sudo apt-get install \
libxtst-dev \
libxss-dev
libxss-dev \
libopencv-dev
```
## Compiling out of tree
### Prerequisites
You'll need [Qt](https://download.qt.io/official_releases/qt/5.15/5.15.2/), [CMake](https://cmake.org/download/) and a working [OBS Studio development environment](https://obsproject.com/wiki/install-instructions) installed on your computer.
@ -66,11 +68,12 @@ Assuming that you set up Qt via QT installer:
Just keep hitting configure until all the vars are filled out. Then hit generate.
### Linux
Install dependencies `XTest` and `XScreensaver` - exact command may differ:
Install dependencies `XTest`, `XScreensaver` and `OpenCV` - exact command may differ:
```
sudo apt-get install \
libxtst-dev \
libxss-dev
libxss-dev \
libopencv-dev
```
Most versions of Linux you can use cmake-gui or the command line.