OBS---环境配置之#include <D3DX10.h>报错

一、先贴错误

     因为这个笔记主要记录我如何整好这个OBS源码环境的,给需要的童鞋一个参考

 

    1.1、#include <D3DX10.h>  报错 没有这个

       解决方案:把2,3先解决了就水到渠成

 

    1.2、安装DirectX报错:

     Setup failed 
   Errors were encountered during installation of redistributeable packages
   Please close all open programs and try running setup again
   If problems persist contact DirectX Developer Support

   Error Code:S1023

       解决方案:控制面板-程序-找到“Microsoft Visual C++ 2010 x86/x64 redistributable – 10.0.(number over 30319)” 直接给卸载了

 

    1.3、安装一半DirectX又出现问题    “TxView.dll”

       C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Utilities\bin\x64\TxView.dll

       Please attempt to resolve the problem by closing applications that might be using this file

       解决方案:停止不了,直接360强制卸载

   

    1.4、再次打开VS2013

      vs2013的 tools->options->Projects and Solutions->VC++ Directiories->Include files里添加“C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include”

      看下图:

     

 

     

二、研究一个可以采集音视频的工具(软硬件都可以)

      用于:举个栗子就拿我自己本子来说(Windows 7 64位专业版,现在只考虑windows 7 系统)可以通过这个录屏软件采集我电脑上所有的操作,最重要的就是采集音视频。比如我播放了一段百度视频。   简单一句话:类似生活中的监控,你的一言一行我都给你清清楚楚的采集下来,好吧!只是我这里是在虚拟环境中--电脑

     

  OBS 全称 open broadcaster software 是一个免费的、开源的视频录制工具,当然她主要拿手的还是在线直播。喜欢玩游戏的童鞋应该都知道XSplit(录制视频/直播视频),OBS是来搅局的……

      官网地址:https://obsproject.com/

      下载地址:http://sourceforge.net/projects/obsproject/?source=typ_redirect

      源码地址:https://github.com/jp9000/OBS

   

 

       下载了源码,又去下载了VS2013 打开源码--> C++  只学过没整过 无从下手就算了,关键还跑步起来……如下图:

       

 

 

 

三、通过步骤一解决问题

 

 

 

 

 

各位有哪位童鞋搞音视频的 不吝赐教 

 

 

谢谢

 

 

 

 

ps:DXSDK_Jun10.exe     https://www.microsoft.com/en-us/download/confirmation.aspx?id=6812

 

posted @ 2015-05-13 15:52  PEPE YU  阅读(1852)  评论(0编辑  收藏  举报