2021-02-03
安装obs-studio报错
声明: 我只是写出我安装时遇到的问题, 如果读者碰到了一样的错误, 可以参考我解决的方法, 如果能帮上忙最好不过了 ,如果解决过程中和我的有出入, 恕我无能为力,谷歌上多搜搜吧.
系统环境
- windows 7 32位
- obs studio 26.1.1
缺少directx组件 [solved]
报错: Your System is missing DirectX compoments …
报错点击确认后会自动弹出微软的下载, 但发现已经不提供下载
We’re sorry, this download is no longer available.
在微软How to install the latest version of DirectX 里提供了directx检测工具的使用方法, 有修复directx的功能
然而诊断结果并没有问题.
最后解决办法
下载obs提供的修复工具dxfix, 点击Go to download下载
注意有如下警示:
WARNING: Make sure you’ve at least tried to install DirectX using the DirectX Installer first. DXFix is intended as a last resort if all other solutions have failed. Works on both 32 bit and 64 bit Windows.
As this program modifies system files, be sure to disable anti-virus or other firewall / security software before downloading or running it.
成功解决该报错!
缺少 msvcp140_1.dll [solved]
The program can’t start because MSVCP140_1.dll is missing from your computer. Try reinstalling the program to fix this problem
网上查到是msvcp140_1在 visual studio 2015 redistributable 中, 去微软官网下载https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0 里边的vc_redist.*.exe
似乎要爬梯才能下载
安装过程中又出现的错 (摘选):
[09B8:0E64][2021-02-04T00:42:50]i301: Applying execute package: Windows7_MSU_x86, action: Install, path: C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\Windows6.1-KB2999226-x86.msu, arguments: ‘“C:\Windows\system32\wusa.exe” “C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\Windows6.1-KB2999226-x86.msu” /quiet /norestart’
[09B8:0E64][2021-02-04T00:42:52]e000: Error 0xc8000222: Failed to execute MSU package.
[08A8:0C24][2021-02-04T00:42:52]e000: Error 0xc8000222: Failed to configure per-machine MSU package.
[08A8:0C24][2021-02-04T00:42:52]i319: Applied execute package: Windows7_MSU_x86, result: 0xc8000222, restart: None
[08A8:0C24][2021-02-04T00:42:52]e000: Error 0xc8000222: Failed to execute MSU package.
完整报错: vc_redist.x86.exe excute error
while installing vc_redist.x64.exe, getting error “Failed to configure per-machine MSU package.”
提供了解决方案, 根据日志, 在路径C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\
路径下Windows6.1-KB2999226-x86.msu
出了问题
1 | cd "C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\" |
DISM发生报错0x800f081e, 完整日志
2021-02-04 02:49:34, Error DISM DISM Package Manager: PID=3456 The package Package_for_KB2999226 is not applicable to the image. - CPackageManagerCLIHandler::Private_ProcessPackageChange
2021-02-04 02:49:34, Info DISM DISM Package Manager: PID=3456 Initiating Changes on Package with values: 4, 7 - CDISMPackage::Internal_ChangePackageState
2021-02-04 02:49:45, Info DISM DISM Package Manager: PID=3456 Error in operation: the package is not applicable. (CBS HRESULT=0x800f081e) - CCbsConUIHandler::Error2021-02-04 02:49:47, Error DISM DISM Package Manager: PID=3456 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081e)
重新下一个看看:
谷歌搜索Windows6.1-KB2999226-x86
后下载 https://www.microsoft.com/zh-cn/download/details.aspx?id=49077
重复上述步骤仍然报错
最后解决办法
暂时放弃上面的办法, 回过头来看是否能下载到msvcp140_1
, 在这里搜索并找合适的版本
我选择了最新版, 下载解压后粘贴到C:\Windows\System32
…成功启动
吐槽
我好傻…缺msvcp140_1补上就行, 我还绕好大一圈.
本来是家里的旧电脑不太行, 重装下系统, 系统从win10降到了win7, 考虑过装个linux更适合旧电脑, 可
对家里人的门槛高了点, 还是装了win7.
这次装个软件真的超出我想象, 一直以为windows系统都是傻瓜式装软件, 没想到有了折腾linux的感觉
其实本来是想找个录屏软件录录课的…但windows上有的录屏软件居然还有打广告收费什么的,我只是想要一个简单的录屏功能而已. 然后找开源工具找到了obs-studio, 现在想想还真傻啊, 浪费了这么多时间. 要是大家有什么好的录屏软件可以推荐以下!