重新分发d3dcompiler_47.dll时,api-ms-win-core-libraryloader-l1-2-0.dll丢失 [英] api-ms-win-core-libraryloader-l1-2-0.dll missing when d3dcompiler_47.dll is redistributed

查看:364
本文介绍了重新分发d3dcompiler_47.dll时,api-ms-win-core-libraryloader-l1-2-0.dll丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Windows 8.1 DirectX SDK的说明,d3dcompiler_47.dll将从任何Direct3D程序重新分配。当我尝试和运行我的程序在Windows 7的机器与此DLL在同一个文件夹中,我得到一个api-ms-win-core-libraryloader-l1-2-0.dll missing错误。一个快速的google搜索建议这是因为某个地方的版本混合 - 是d3dcompiler_47.dll与本机兼容?我检查确保它安装了DirectX 11,这是我使用的DirectX的版本,并且不能弄清楚为什么会发生这种情况。

As per instruction from the Windows 8.1 DirectX SDK, d3dcompiler_47.dll is to be redistributed with any Direct3D program from now on. When I try and run my program on a Windows 7 machine with this dll in the same folder, I get a "api-ms-win-core-libraryloader-l1-2-0.dll missing" error. A quick google search suggests this is because of a version mix-up somewhere - is d3dcompiler_47.dll incompatible with this machine? I've checked to make sure it has DirectX 11 installed, which is the version of DirectX that I'm using, and can't figure out why this is happening.

推荐答案

这只能是错误的,如果你从Windows目录中复制d3dcompiler_47.dll。不适合在旧版Windows上运行。

This can only go wrong if you copied d3dcompiler_47.dll from your Windows directory. Which is not suitable to run on older Windows versions.

您必须 使用可再发行版本。你会发现它回到Windows SDK目录。像C:\Program Files(x86)\Windows Kits \8.1 \Redist\D3D在大多数机器上。选择x86或x64版本,具体取决于用于编译程序的平台目标。

You must use the redistributable version of it. You'll find it back in the Windows SDK directory. Like C:\Program Files (x86)\Windows Kits\8.1\Redist\D3D on most machines. Pick the x86 or the x64 version of it, depending on the platform target you used to compile your program.

这篇关于重新分发d3dcompiler_47.dll时,api-ms-win-core-libraryloader-l1-2-0.dll丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆