简体   繁体   English

无法在 Visual Studio 2019 中运行程序,选择本地 Windows 调试器给我错误访问被拒绝

[英]Unable to run a program in Visual studio 2019, Selecting Local Windows Debugger gives me error Access denied

Currently, I am working on cloning the Cilantro github repository.目前,我正在克隆 Cilantro github 存储库。 I did using Cmake and also downloaded the required dependencies.我确实使用了 Cmake 并下载了所需的依赖项。 The issue is I cannot run any files inside the project as well as newly created .cpp files for testing.问题是我无法在项目中运行任何文件以及新创建的 .cpp 文件进行测试。 When I build the project it does builds successfully.当我构建项目时,它确实构建成功。 but Whenever, I try to run by clicking in Local windows debugger I keep getting error unable to start program access denied.但是每当我尝试通过单击本地 Windows 调试器来运行时,我不断收到错误无法启动程序访问被拒绝。

snapshot of my current error我当前错误的快照

Things, I have done but not helped事情,我做了但没有帮助

  1. uninstall MC*** antivirus卸载MC***杀毒软件
  2. disabled the Real-time protection in systems virus security禁用系统病毒安全实时保护
  3. rebuild the project and it build successfully重建项目并成功构建

snapshot successfull Rebuild快照成功重建

  1. also tried making cilantro as my set as project but than I am getting following error.还尝试将香菜作为我的项目设置,但比我收到以下错误。 cilantro, set as project I need help to run the project and remove the following error.香菜,设置为项目我需要帮助来运行项目并删除以下错误。 Also,is there an easier way to clone and run the project in visual studios without using CMAKE GUI?另外,是否有更简单的方法可以在不使用 CMAKE GUI 的情况下在 Visual Studio 中克隆和运行项目?

IDE: Visual Studios; IDE:Visual Studios; Trying to run C++ program Used CMAKE gui to build this project Cilantro Github which I am trying to run is : https://github.com/kzampog/cilantro尝试运行 C++ 程序使用 CMAKE gui 来构建这个项目 Cilantro Github 我试图运行的是: https : //github.com/kzampog/cilantro

make you project as set as startup project让你的项目set as startup project

Solution Explorer > cilantro (Right click) > set as startup project Solution Explorer > cilantro (右键单击)> set as startup project

official doc官方文档

暂无
暂无

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

相关问题 Visual Studio C ++->本地Windows调试器 - Visual Studio C++ -> Local Windows Debugger Visual Studio 2015-本地Windows调试器在运行后立即关闭? - Visual Studio 2015 - Local Windows Debugger closes out immediately after run? Visual Studio 调试器错误:无法启动程序 找不到指定文件 - Visual Studio debugger error: Unable to start program Specified file cannot be found 在Visual Studio中使用本地Windows调试器运行了第一个程序。 输出窗口显示大量“找不到或打开PDB文件” - ran first program with local windows debugger in visual studio. Output window displays numerous “Cannot find or open the PDB file” 本地Windows调试器已替换为Attach,并且无法运行和调试我的程序 - Local windows debugger replaced with attach and cannot run and debug my program C++ Visual Studio 访问被拒绝错误 - C++ Visual Studio Access is Denied error 程序在Visual Studio调试器中挂起 - Program hangs in Visual Studio debugger 在Visual Studio中构建解决方案时,“无法创建目录”错误,“访问路径被拒绝。” - “Unable to create directory” error with “Access to path is denied.” when building a solution in Visual Studio STL列表在Visual Studio 2013中编译的代码在Visual Studio 2019中给出了错误。想知道原因 - STL list Code that compiles in Visual Studio 2013 gives error in Visual Studio 2019. Wanted to know the reason 无法生成或清理Visual Studio 2015解决方案(访问被拒绝) - Unable to Build or clean Visual Studio 2015 Solution (Access Denied)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM