On debian 7.8 wheezy:
Cmake-2.8.12 is only aviable on i386 and x86-64, on others the newest version is 2.8.9.
Should I try to update to jessie?
Wheezy-backports only got 2.8.11, when it needs 2.8.12. Anyways, I installed 3.0.2. from jessie (I didn't update the whole system).Just use wheezy-backports it has a more recent cmake.
Linking C shared library libobs.so /usr/bin/ld: /usr/local/lib/../lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/../lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status libobs/CMakeFiles/libobs.dir/build.make:1591: recipe for target 'libobs/libobs.so.0' failed make: *** [libobs/libobs.so.0] Error 1 CMakeFiles/Makefile2:280: recipe for target 'libobs/CMakeFiles/libobs.dir/all' failed make: *** [libobs/CMakeFiles/libobs.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *** [all] Error 2
Managed to do it using your instructions! I just needed to to an "ldconfig" after everything because of a library thingy. (I'm really new in linux)I am up and running on Debian Jessie 8.1 X64. Took me a while to get it right. This is what I did. It should work as a script as well.
sudo apt-get install deb-multimedia-keyring
sudo sh -c 'echo "deb http://www.deb-multimedia.org jessie main non-free" >> /etc/apt/sources.list'
sudo apt-get update
sudo apt-get install autoconf automake build-essential checkinstall cmake git libass-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libjack-jackd2-dev libopus-dev libpostproc53 libpulse-dev libqt5x11extras5-dev libsdl1.2-dev libtheora-dev libtool libudev-dev libv4l-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libx264-dev libxcb-shm0-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb1-dev libxcomposite-dev libxinerama-dev pkg-config qtbase5-dev texi2html yasm zlib1g-dev
git clone git://source.ffmpeg.org/ffmpeg.git
./configure --enable-shared --enable-gpl --enable-libass --enable-libfreetype --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --disable-static
sudo checkinstall --pkgname=FFmpeg --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes
git clone https://github.com/jp9000/obs-studio.git
mkdir build && cd build
cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
sudo checkinstall --pkgname=OBS-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes
I'm new to Open Broadcaster Software, I want to install it on a Debian testing/stretch. How to install clean & easy? The last post is one and a half year old already, are there any good ways available in 2016?
I've installed the .deb package from the autor of this thread which is already more than a year old - after starting it it says "
obs: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory". It seems I have to install the Qt5 from the native source like described throughout this thread.
It would be nice to get a great answer. Thank you very much!