xiaotoly 2018-07-08 14:54 采纳率: 0%
浏览 2427
已结题

OBS STUDIO 编译失败 求解?

图片说明我的环境:
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".

  • 写回答

3条回答

  • 爱吃火腿包 2018-07-09 01:15
    关注

    重新编译!或者改下变量值,之前遇到过

    评论

报告相同问题?

悬赏问题

  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题
  • ¥15 FPGA-SRIO初始化失败
  • ¥15 MapReduce实现倒排索引失败
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型