提前准备环境:
Git
VS 2015
Qt5 (qt-opensource-windows-x86-5.9.1.exe)安装时不要默认安装 去掉Android ARMv7 勾选msvc2015 32-bit 安装
CMake 3.8.1
以上几个最基本的,我就不提供下载地址了;
OBS在VS2015上开发所需要依赖的库:http://download.csdn.net/download/yhc166188/10137246
首先从github上clone源代码:
git clone --recursive https://github.com/jp9000/obs-studio.git
1
或者
git clone https://github.com/jp9000/obs-studio.git
git submodule update --init --recursive
因为obs-studio的源代码中包含其它一些开源库的git地址。所以需要–recursive 一并将submodule中的Git源码全下到本地。
其中就包含libdshowcapture(视频捕获设备)、obs-browser(cef内核浏览器插件)等。
将这些源代码下载成功后
设置两个环境变量
QTDIR E:/software/software_install/qt5.9.1_install/5.9.1/msvc2015
DepsPath E:/work/code/dependencies2015/win32
然后cmake 即可
Git
VS 2015
Qt5 (qt-opensource-windows-x86-5.9.1.exe)安装时不要默认安装 去掉Android ARMv7 勾选msvc2015 32-bit 安装
CMake 3.8.1
以上几个最基本的,我就不提供下载地址了;
OBS在VS2015上开发所需要依赖的库:http://download.csdn.net/download/yhc166188/10137246
首先从github上clone源代码:
git clone --recursive https://github.com/jp9000/obs-studio.git
1
或者
git clone https://github.com/jp9000/obs-studio.git
git submodule update --init --recursive
因为obs-studio的源代码中包含其它一些开源库的git地址。所以需要–recursive 一并将submodule中的Git源码全下到本地。
其中就包含libdshowcapture(视频捕获设备)、obs-browser(cef内核浏览器插件)等。
将这些源代码下载成功后
设置两个环境变量
QTDIR E:/software/software_install/qt5.9.1_install/5.9.1/msvc2015
DepsPath E:/work/code/dependencies2015/win32
然后cmake 即可