简体   繁体   English

错误PRJ0002:从'C:\\ Program Files \\ Microsoft Visual Studio 9.0 \\ VC \\ bin \\ cl.exe'返回错误结果-1073741515

[英]error PRJ0002 : Error result -1073741515 returned from 'C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe'

I am using VS2008. 我正在使用VS2008。 (C++ code). (C ++代码)。 I am getting the error when compiling: 编译时我收到错误:

error PRJ0002 : Error result -1073741515 returned from 'C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin\\cl.exe' 错误PRJ0002:从'C:\\ Program Files \\ Microsoft Visual Studio 9.0 \\ VC \\ bin \\ cl.exe'返回错误结果-1073741515

I tried all the options available in net including one of the stackoverflow link Visual Studio error confusion + help please 我尝试了net中可用的所有选项,包括一个stackoverflow链接Visual Studio错误混淆+请帮助

  1. Tried shortening the path of my source solution by placing directly inside C drive. 尝试直接放在C盘中缩短我的源解决方​​案的路径。
  2. Tried Removing any VS plugins. 尝试删除任何VS插件。 Tools -> Addin Manager. 工具 - > Addin Manager。

My codebase is fine because the same solution is compiling fine on other machines. 我的代码库很好,因为相同的解决方案在其他机器上编译得很好。 When I copied the solution to a particular m/c I am getting this error. 当我将解决方案复制到特定的m / c时,我收到此错误。

It has custom build steps, post build steps. 它具有自定义构建步骤,构建后步骤。 But they are all correct because its working on other computers. 但它们都是正确的,因为它在其他计算机上工作。

0xC0000135 (hex -1073741515) can be found in NtStatus.h 0xC0000135(十六进制-1073741515)可以在NtStatus.h中找到

Its meaning is STATUS_DLL_NOT_FOUND. 它的含义是STATUS_DLL_NOT_FOUND。 Try to look on your cl.exe with Depends 尝试使用Depends查看您的cl.exe

Have you tried resetting your settings of Visual Studio? 您是否尝试重置Visual Studio的设置? It is available in Tools->Import and Export Settings. 它在工具 - >导入和导出设置中可用。 Setting it to Visual C++ Development Settings might do the trick. 将其设置为Visual C ++开发设置可能会有所帮助。 I know it have helped others with the same problem. 我知道它帮助其他人解决了同样的问题。

I fixed it by adding this path to the environment PATH variable: C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE 我通过将此路径添加到环境PATH变量来修复它:C:\\ Program Files(x86)\\ Microsoft Visual Studio 9.0 \\ Common7 \\ IDE

some of the dependencies of the cl.exe are lying in this directory, which were unresolved. cl.exe的一些依赖项位于此目录中,尚未解析。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何解决错误PRJ0002:'cl.exe'返回的错误结果-1073741515? - how to resolve error PRJ0002 : Error result -1073741515 returned from 'cl.exe'? 错误:命令 'C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' 失败,退出状态为 2 - error: command 'C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2 Visual Studio 2013:CL.exe退出,代码为-1073741515 - Visual Studio 2013: CL.exe exited with code -1073741515 编译Visual Studio C ++项目时出错-cl.exe错误 - Error compiling Visual Studio C++ project - error with cl.exe 在Visual Studio C ++中编译时出现错误2,代码退出MSB6006“ CL.exe” - Error MSB6006 “CL.exe” exited with code 2 in compile in visual studio c++ 执行cl.exe时出错 - Error executing cl.exe CMake 和 Visual Studio 2015 - C 编译器 cl.exe 无法编译简单的测试程序 - CMake and Visual studio 2015 - The C compiler cl.exe is not able to compile a simple test program Visual Studio 2017 - 错误MSB6006:“CL.exe”退出代码2 - Visual studio 2017 - error MSB6006: “CL.exe” exited with code 2 针对此cpp代码使用cl.exe(Visual Studio 2008)编译错误 - Compile error using cl.exe (Visual Studio 2008) for this cpp code 为什么 cl.exe(Visual Studio 编译器)无法使用 CMake(错误报告)编译项目? - How come cl.exe (Visual Studio compiler) fails to compile a project with CMake (error-report)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM