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.
相关问题
- Sorting 3 numbers without branching [closed]
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
- What uses more memory in c++? An 2 ints or 2 funct
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Class layout in C++: Why are members sometimes ord
- How to mock methods return object with deleted cop
- Which is the best way to multiply a large and spar
- C++ default constructor does not initialize pointe
- Selecting only the first few characters in a strin
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.
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.