错误 MSB6006:"midl.exe"退出,代码为 -1073741515
error MSB6006: "midl.exe" exited with code -1073741515
我在VS2015更新3中的C 项目构建期间有问题。错误消息如下:
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Microsoft.CppCommon.targets(1318,5): error MSB6006: "midl.exe" exited with code -1073741515
编辑:这是一个使用SDK 10.0.150310的项目。
在Windows 10上,构建成功,但Windows 7上的错误失败了,如所述。
错误 -1073741515 == 0xC0000135 == STATUS_DLL_NOT_FOUND
:
STATUS_DLL_NOT_FOUND ntstatus.h
The program can't start because %hs is missing from your computer. Try reinstalling the program to fix this problem.
因此丢失了DLL。使用ProcessMonitor,捕获活动并过滤到DLL加载事件。现在,查看结果列,您会看到错误。现在看哪个DLL缺少。
使用MISSINS DLL或安装Win8 SDK没有帮助。仅在Windows10或Windows Server2016上编译它解决了问题(因为代码最初在WIN10上写了。(
相关文章:
- C++我的数学有什么问题,为什么我的代码不能正确循环
- 代码在main()中运行,但在函数中出现错误
- 在VS代码中交叉编译Windows与Linux上的MinGW的SDL程序
- 编译包含字符串的代码时遇到问题
- 我在c++代码中生成了一个运行时#3异常
- 如何在linux终端中同时编译和运行c++代码
- 为cl.exe(Visual Studio代码)指定命令行C++版本
- 在Linux for Windows上编译C++代码时出错
- 我的字符计数代码计算错误.为什么
- 孤立代码块在结构中引发异常
- 在编译C++代码(具有dlib和opencv)到WASM时面临问题
- 为什么我的C#代码在调用回C++COM直到Task时会暂停.等待/线程.加入
- 处理小于cpu数据总线的数据类型.(c++转换为机器代码)
- 此代码是否违反一个定义规则
- CLion、MinGW 和 SDL2:进程已完成,退出代码为 -1073741515 (0xC0000135)
- OpenGL 应用程序退出,退出代码为 -1073741515 (0xC0000135)
- CLION QT5-退出代码-1073741515(0xc0000135)
- 错误 MSB6006:"midl.exe"退出,代码为 -1073741515
- 链接 Visual C++ 项目 (VS 2010) 会导致错误MSB6006:"link.exe"退出代码1073741515
- 退出代码-1073741515