• <bdo id='QV5Kp'></bdo><ul id='QV5Kp'></ul>

      <tfoot id='QV5Kp'></tfoot>

      1. <small id='QV5Kp'></small><noframes id='QV5Kp'>

        <i id='QV5Kp'><tr id='QV5Kp'><dt id='QV5Kp'><q id='QV5Kp'><span id='QV5Kp'><b id='QV5Kp'><form id='QV5Kp'><ins id='QV5Kp'></ins><ul id='QV5Kp'></ul><sub id='QV5Kp'></sub></form><legend id='QV5Kp'></legend><bdo id='QV5Kp'><pre id='QV5Kp'><center id='QV5Kp'></center></pre></bdo></b><th id='QV5Kp'></th></span></q></dt></tr></i><div id='QV5Kp'><tfoot id='QV5Kp'></tfoot><dl id='QV5Kp'><fieldset id='QV5Kp'></fieldset></dl></div>
        <legend id='QV5Kp'><style id='QV5Kp'><dir id='QV5Kp'><q id='QV5Kp'></q></dir></style></legend>

      2. Visual Studio 2013:CL.exe 退出,代码为 -1073741515

        时间:2023-08-01
      3. <legend id='JJa4C'><style id='JJa4C'><dir id='JJa4C'><q id='JJa4C'></q></dir></style></legend>
          <i id='JJa4C'><tr id='JJa4C'><dt id='JJa4C'><q id='JJa4C'><span id='JJa4C'><b id='JJa4C'><form id='JJa4C'><ins id='JJa4C'></ins><ul id='JJa4C'></ul><sub id='JJa4C'></sub></form><legend id='JJa4C'></legend><bdo id='JJa4C'><pre id='JJa4C'><center id='JJa4C'></center></pre></bdo></b><th id='JJa4C'></th></span></q></dt></tr></i><div id='JJa4C'><tfoot id='JJa4C'></tfoot><dl id='JJa4C'><fieldset id='JJa4C'></fieldset></dl></div>

            <bdo id='JJa4C'></bdo><ul id='JJa4C'></ul>

                  <tbody id='JJa4C'></tbody>

                  <small id='JJa4C'></small><noframes id='JJa4C'>

                • <tfoot id='JJa4C'></tfoot>
                • 本文介绍了Visual Studio 2013:CL.exe 退出,代码为 -1073741515的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我安装了 全新 Windows 8.1 Pro x64 和 全新 Visual Studio 2013 Pro.当尝试使用平台工具集编译项目到 Windows7.1SDK 时,我得到

                  I have a fresh Windows 8.1 Pro x64 install with a fresh Visual Studio 2013 Pro. When trying to compile a project with Platform Toolset to Windows7.1SDK I'm getting

                  Error   1   error MSB6006: "CL.exe" exited with code -1073741515.   C:Program Files (x86)MSBuildMicrosoft.Cppv4.0PlatformsWin32Microsoft.Cpp.Win32.targets   57  5   MenuBrowser
                  

                  我尝试运行提供的Windows SDK 配置工具",除了收到有关未安装 Visual Studio 2005 和 2008 的错误之外,我认为它完成了它的工作.

                  I tried running the supplied "Windows SDK Configuration Tool" and besides getting an error about Visual Studio 2005 and 2008 not being installed I think it did its job.

                  我尝试手动编辑注册表:

                  I tried manually editing the registry:

                  HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft SDKsWindows
                  

                  我手动将 CurrentInstallFolder 作为 C:Program FilesMicrosoft SDKsWindowsv7.1CurrentVersion 作为 的位置>7.1.7600.0.30514.如果我查看项目属性并单击其中的不同路径/变量 -> 更多 -> 宏,我可以看到 $(WindowsSdkDir) 是正确的.

                  where I manually put CurrentInstallFolder as C:Program FilesMicrosoft SDKsWindowsv7.1 and CurrentVersion as 7.1.7600.0.30514. If I look at the project properties and click the different paths / variables in there -> more -> Macros, I can see that $(WindowsSdkDir) is correct.

                  知道我应该尝试什么吗?在装有 Windows 7 和 VS 2012 的旧开发计算机上从未遇到过此问题.

                  Any idea as to what I should try? Never ran into this problem on the old development computer with Windows 7 and VS 2012.

                  L.E.请注意,如果我使用 v120 工具尝试一个新项目,它可以工作,但我需要 Windows7.1SDK 工具.

                  L.E. as a note, if I try a new project with the v120 tools, it works, but I need the Windows7.1SDK tools.

                  推荐答案

                  尝试使用 Platform Toolset 将项目编译为 Windows7.1SDK 时...

                  When trying to compile a project with Platform Toolset to Windows7.1SDK...

                  在 VS2013 的全新"安装中,这不是有效的选择.不太清楚你一直在做什么,它肯定不再新鲜"了.请务必将 Regedit.exe 视为已加载的武器,配置 VS 的注册表项集最近变得非常复杂.

                  That's not a valid selection in a "fresh" install for VS2013. Not very clear what you've been doing, it certainly isn't "fresh" anymore. Do treat Regedit.exe as a loaded weapon, the registry key set that configures VS has been getting pretty doggone convoluted as of late.

                  编译器崩溃,出现 -1073741515 == 0xC0000135 == STATUS_DLL_NOT_FOUND.当然,这是一个非常严重的事故,当您面向 SDK 7.1 时,它应该永远发生,因为它仍然使用相同的编译器,只是 SDK 目录发生了变化.编译器本身以及它使用的 DLL 不是 SDK 的一部分,只有在机器没有安装 VS 时才提供.您可以使用 SysInternals 的 Process Monitor 对此进行诊断,您将看到 CL.EXE 进程正在搜索 DLL 而没有找到它.

                  The compiler crashes with -1073741515 == 0xC0000135 == STATUS_DLL_NOT_FOUND. That's a pretty serious mishap of course, it should never occur when you target SDK 7.1 since that still uses the same compiler, only the SDK directory is changed. The compiler itself, as well as the DLLs it uses, are not part of the SDK and only are provided if the machine doesn't have VS installed. You can use SysInternals' Process Monitor to diagnose this, you'll see the CL.EXE process searching for a DLL and not finding it.

                  面向 7.1 的正确方法是使用 v120_xp 工具集选择.它构建的程序仍然可以在 XP 上运行,它还会自动选择安装在您机器上的 7.1A SDK.请尝试撤消您所做的更改.

                  The correct way to target 7.1 is to use the v120_xp toolset selection. That builds programs that can still run on XP, it automatically also selects the 7.1A SDK that was installed on your machine. Do try to undo the changes you've made.

                  这篇关于Visual Studio 2013:CL.exe 退出,代码为 -1073741515的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Win32 - 从标准输入读取超时 下一篇:如何检查窗口是否“始终在顶部"?

                  相关文章

                  最新文章

                  <tfoot id='g9RSA'></tfoot>

                  1. <small id='g9RSA'></small><noframes id='g9RSA'>

                    • <bdo id='g9RSA'></bdo><ul id='g9RSA'></ul>
                    <i id='g9RSA'><tr id='g9RSA'><dt id='g9RSA'><q id='g9RSA'><span id='g9RSA'><b id='g9RSA'><form id='g9RSA'><ins id='g9RSA'></ins><ul id='g9RSA'></ul><sub id='g9RSA'></sub></form><legend id='g9RSA'></legend><bdo id='g9RSA'><pre id='g9RSA'><center id='g9RSA'></center></pre></bdo></b><th id='g9RSA'></th></span></q></dt></tr></i><div id='g9RSA'><tfoot id='g9RSA'></tfoot><dl id='g9RSA'><fieldset id='g9RSA'></fieldset></dl></div>
                    <legend id='g9RSA'><style id='g9RSA'><dir id='g9RSA'><q id='g9RSA'></q></dir></style></legend>