Resolve Barrier build error

Posted 2021. 4. 20. 13:10

How to build your barrier on Ubuntu ( libqt error )

github.com/debauchee/barrier/wiki/Building-on-Linux

 

debauchee/barrier

Open-source KVM software. Contribute to debauchee/barrier development by creating an account on GitHub.

github.com

Preparing

 

* Ubuntu/Debian/Raspbian on the barrier official page 

sudo apt update && sudo apt upgrade
sudo apt install git cmake make xorg-dev g++ libcurl4-openssl-dev \
                 libavahi-compat-libdnssd-dev libssl-dev libx11-dev \
                 libqt4-dev qtbase5-dev

 

But, you may NOT be able to install libqt4-dev because it does not support anymore on Ubuntu latest.

You can install the below package instead. 

 

sudo apt install libqt5opengl5-dev