centos - 安装obs-studio

安装rpmfusion

yum -y install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

 

Red Hat/Fedora-based Build Directions

https://github.com/obsproject/obs-studio/wiki/Install-Instructions#red-hatfedora-based-build-directions

基础环境

sudo yum install gcc gcc-c++ gcc-objc cmake git

 依赖:

  sudo yum install libX11-devel mesa-libGL-devel libv4l-devel \
          pulseaudio-libs-devel x264-devel freetype-devel \
          fontconfig-devel libXcomposite-devel libXinerama-devel \
          qt5-qtbase-devel qt5-qtx11extras-devel libcurl-devel \
          systemd-devel ffmpeg luajit-devel swig python36-devel

(Note: you might also need to install ffmpeg-devel)

 

构建并安装OBS 

 

git clone --recursive https://github.com/obsproject/obs-studio.git
  cd obs-studio
  mkdir build && cd build
  cmake -DUNIX_STRUCTURE=1 ..
  make -j4
  sudo make install


新建文件
vi /etc/ld.so.conf.d/local.conf

并加入以下文本
/usr/local/lib 

 

运行

sudo ldconfig

 

2

posted @ 2018-12-02 21:02  德丽莎·阿波卡利斯  阅读(629)  评论(0编辑  收藏  举报