我的环境:
WIN7 64位, IDE: VS2015
CMAKE VERSION: cmake-3.12.0-rc2-win64-x64
OBS STUDIO SOURCE_URL: https://github.com/obsproject/obs-studio.git
相关配置:
DepsPath:D:\OBS_STUDIO\dependencies2015\win32
QTDIR:D:/Qt/Qt5.8.0/5.8/msvc2015
Libavcoder_DIR: D:/OBS_STUDIO/dependencies2015/win32
错误提示:
OBS_VERSION: 0.0.1
Found FFmpeg: D:/OBS_STUDIO/dependencies2015/win32/bin/avcodec.lib (found version "57.108.100") found components: avcodec avdevice avutil avformat
Scripting: Luajit supported
Scripting: Python 3 supported
CMake Deprecation Warning at D:/OBS_STUDIO/cmake-3.12.0-rc2-win64-x64/cmake-3.12.0-rc2-win64-x64/share/cmake-3.12/Modules/UseSWIG.cmake:455 (message):
SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
deps/obs-scripting/obspython/CMakeLists.txt:33 (SWIG_ADD_MODULE)
CMake Deprecation Warning at D:/OBS_STUDIO/cmake-3.12.0-rc2-win64-x64/cmake-3.12.0-rc2-win64-x64/share/cmake-3.12/Modules/UseSWIG.cmake:677 (message):
SWIG_LINK_LIBRARIES is deprecated. Use TARGET_LINK_LIBRARIES instead.
Call Stack (most recent call first):
deps/obs-scripting/obspython/CMakeLists.txt:34 (SWIG_LINK_LIBRARIES)
**CMake Error at deps/obs-scripting/obspython/CMakeLists.txt:45 (set_target_properties):
set_target_properties Can not find target to add properties to: _obspython
Call Stack (most recent call first):
deps/obs-scripting/obspython/CMakeLists.txt:76 (install_plugin_bin_swig)
**
CMake Deprecation Warning at D:/OBS_STUDIO/cmake-3.12.0-rc2-win64-x64/cmake-3.12.0-rc2-win64-x64/share/cmake-3.12/Modules/UseSWIG.cmake:455 (message):
SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
deps/obs-scripting/obslua/CMakeLists.txt:19 (SWIG_ADD_MODULE)
CMake Deprecation Warning at D:/OBS_STUDIO/cmake-3.12.0-rc2-win64-x64/cmake-3.12.0-rc2-win64-x64/share/cmake-3.12/Modules/UseSWIG.cmake:677 (message):
SWIG_LINK_LIBRARIES is deprecated. Use TARGET_LINK_LIBRARIES instead.
Call Stack (most recent call first):
deps/obs-scripting/obslua/CMakeLists.txt:20 (SWIG_LINK_LIBRARIES)
Jansson >=2.5 not found, building bundled version
C compiler: MSVC
Found FFmpeg: D:/OBS_STUDIO/dependencies2015/win32/bin/avformat.lib (found version "57.84.100") found components: avformat avutil swscale swresample avcodec
Using libavcodec for image loading in libobs
Found FFmpeg: D:/OBS_STUDIO/dependencies2015/win32/bin/avcodec.lib (found version "57.108.100") found components: avcodec avutil avformat
libdshowcapture submodule not found! Please fetch submodules. win-dshow plugin disabled.
Could NOT find LibVLC_INCLUDES (missing: VLC_INCLUDE_DIR)
LibVLC includes not found, VLC video plugin disabled
enc-amf submodule not found! Please fetch submodules. enc-amf plugin disabled.
RSSDK not found, Realsense camera plugin disabled
obs-vst submodule not found! Please fetch/update submodules. obs-vst plugin disabled.
Libfdk not found - obs-libfdk plugin disabled
Found FFmpeg: D:/OBS_STUDIO/dependencies2015/win32/bin/avcodec.lib (found version "57.108.100") found components: avcodec avfilter avdevice avutil swscale avformat swresample
Found FFmpeg: D:/OBS_STUDIO/dependencies2015/win32/bin/avcodec.lib (found version "57.108.100") found components: avcodec avutil avformat
Configuring incomplete, errors occurred!
See also "D:/OBS_STUDIO/ProCmake/buildOBS/CMakeFiles/CMakeOutput.log".
See also "D:/OBS_STUDIO/ProCmake/buildOBS/CMakeFiles/CMakeError.log".