thanks kurufu, you were right
I took extra effort to follow exactly the instructions and it mostly worked, I only changed libpipewire-0.3-dev to libpipewire-0.2-dev (because is not present in debian10. I also did another error: I forgot the argument
--recursive
on git clone. So git submodules were missing, specially needed when compiling the browser source as is the case (without browser source it worked fine). I got another different error in 21.1.2 both with cef_binary 4280 and 3770, but as I could compile it for 27.0.0-rc6 I am happy at the moment :)
let me put next the exactly steps I used, because that documentation evolves
Code:
sudo apt-get install \
build-essential \
checkinstall \
cmake \
git \
libmbedtls-dev \
libasound2-dev \
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavutil-dev \
libcurl4-openssl-dev \
libfdk-aac-dev \
libfontconfig-dev \
libfreetype6-dev \
libglvnd-dev \
libjack-jackd2-dev \
libjansson-dev \
libluajit-5.1-dev \
libpulse-dev \
libqt5x11extras5-dev \
libspeexdsp-dev \
libswresample-dev \
libswscale-dev \
libudev-dev \
libv4l-dev \
libvlc-dev \
libwayland-dev \
libx11-dev \
libx264-dev \
libxcb-shm0-dev \
libxcb-xinerama0-dev \
libxcomposite-dev \
libxinerama-dev \
pkg-config \
python3-dev \
qtbase5-dev \
qtbase5-private-dev \
libqt5svg5-dev \
swig \
libxcb-randr0-dev \
libxcb-xfixes0-dev \
libx11-xcb-dev \
libxcb1-dev \
libxss-dev \
libpipewire-0.2-dev \
qtwayland5
git clone --recursive https://github.com/obsproject/obs-studio.git
cd obs-studio
git checkout 27.0.0-rc6
mkdir -p build
cd build
make clean
cmake -DUNIX_STRUCTURE=1 -DENABLE_PIPEWIRE=OFF -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="../../cef_binary_4280_linux64" ..
make -j4
sudo checkinstall --default --pkgname=obs-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes