运行VS2013 Express项目可执行文件时出错

时间:2015-07-26 13:13:07

标签: dll visual-studio-2013 executable directx-11

我正在尝试运行在构建项目时创建的VS2013 Express可执行文件,该文件位于该项目的Debug目录中。

尝试运行.exe文件时,会显示以下消息:

"This application failed to start because D3DCompiler_47.dll was not found. Re-installing the application may fix this problem."

所以我下载了dll并将其与.exe文件一起粘贴到Debug文件夹中。当我尝试运行时,它给了我:

The application was unable to start correctly 0xc00007b

我搜索了解决方案,但有很多方法要求我从阴暗的网站下载文件。

有什么建议吗?谢谢!

2 个答案:

答案 0 :(得分:0)

这看起来像MSDN link中讨论的DirectX相关问题。

根据您的Windows版本,DirectX DLLs以不同的方式安装。确保DirectX安装正常工作并使用DLL用于正确的CPU类型(32位与64位)。

答案 1 :(得分:0)

您运行的是哪个版本的Windows?

D3DCompiler_47.dll内置于Window 8.1和Windows 10操作系统中。您还可以在C:\Program Files (x86)\Windows Kits\8.1\Redist\D3D下的Windows 8.1 SDK中找到一个副本,以便与Windows Vista,Windows 7和Windows 8.0一起使用。

请参阅HLSL, FXC, and D3DCompile