简体   繁体   English

Eclipse C / C ++ CDT令人讨厌的问题

[英]Eclipse C/C++ CDT annoying issue

Each time I am programming in eclipse it shows me when I clean all projects: 每次我用Eclipse编程时,它都会显示我清理所有项目的时间:

Cleaning all projects has encountered a problem. 清理所有项目都遇到了问题。 Errors occured during the build. 在构建期间发生错误。

"Errors occurred during the build. Errors running builder 'CDT Builder' on project 'Working'. Internal error building project Working configuration Debug Problems encountered while deleting resources. Could not delete '/Working/Debug'. Could not delete '/Working/Debug'. Problems encountered while deleting resources. Problems encountered while deleting files. Could not delete: C:\\Users\\Asus\\workspace\\Working\\Debug. Internal error building project Working configuration Debug Problems encountered while deleting resources. Could not delete '/Working/Debug'. Could not delete '/Working/Debug'. Problems encountered while deleting resources. Problems encountered while deleting files. Could not delete: C:\\Users\\Asus\\workspace\\Working\\Debug. " “在构建期间发生了错误。在项目'Working'上运行构建器'CDT Builder'时出错。内部错误生成项目的工作配置调试删除资源时遇到问题。无法删除'/ Working / Debug'。无法删除'/ Working /调试”。删除资源时遇到的问题。删除文件时遇到的问题。无法删除:C:\\ Users \\ Asus \\ workspace \\ Working \\ Debug。内部错误构建项目工作配置调试删除资源时遇到的问题。无法删除'/工作/调试”。无法删除“ /工作/调试”。删除资源时遇到问题。删除文件时遇到问题。无法删除:C:\\ Users \\ Asus \\ workspace \\ Working \\ Debug。

This is shown to me in the problems tab near console: "cannot open output file Working.exe: Permission denied" 这在控制台附近的问题选项卡中显示给我: “无法打开输出文件Working.exe:权限被拒绝”

And when I hit run it shows me this: "Launching working.exe has encountered a problem. The program file specified in the launch configuration does not exist." 当我点击运行时,它向我显示: “启动working.exe遇到问题。在启动配置中指定的程序文件不存在。”

And in the log file the one within the metadata folder it said this: 在元数据文件夹中的日志文件中,它说:

Contains: Problems encountered while deleting files. 包含:删除文件时遇到的问题。 Contains: Could not delete: C:\\Users\\Asus\\workspace\\Working\\Debug. 包含:无法删除:C:\\ Users \\ Asus \\ workspace \\ Working \\ Debug。 !SUBENTRY 4 org.eclipse.core.resources 4 273 2014-09-08 21:25:22.006 !MESSAGE Problems encountered while deleting resources. !SUBENTRY 4 org.eclipse.core.resources 4 273 2014-09-08 21:25:22.006!MESSAGE删除资源时遇到问题。 !SUBENTRY 5 org.eclipse.core.filesystem 4 273 2014-09-08 21:25:22.006 !MESSAGE Problems encountered while deleting files. !SUBENTRY 5 org.eclipse.core.filesystem 4 273 2014-09-08 21:25:22.006!MESSAGE删除文件时遇到问题。 !SUBENTRY 6 org.eclipse.core.filesystem 4 273 2014-09-08 21:25:22.006 !MESSAGE Could not delete: C:\\Users\\Asus\\workspace\\Working\\Debug. !SUBENTRY 6 org.eclipse.core.filesystem 4 273 2014-09-08 21:25:22.006!MESSAGE无法删除:C:\\ Users \\ Asus \\ workspace \\ Working \\ Debug。

!ENTRY org.eclipse.cdt.debug.core 4 104 2014-09-08 21:26:00.448 !MESSAGE The program file specified in the launch configuration does not exist !STACK 0 java.io.FileNotFoundException: C:\\Users\\Asus\\workspace\\Working\\Debug\\Working.exe not found at org.eclipse.cdt.debug.core.CDebugUtils.verifyProgramPath(CDebugUtils.java:658) at org.eclipse.cdt.debug.core.CDebugUtils.verifyProgramPath(CDebugUtils.java:674) at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:85) at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:71) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1251) at org.eclipse.core.internal.jobs.Wor !ENTRY org.eclipse.cdt.debug.core 4 104 2014-09-08 21:26:00.448!MESSAGE启动配置中指定的程序文件不存在!STACK 0 java.io.FileNotFoundException:C:\\ Users \\在org.eclipse.cdt.debug.core.CDebugUtils.verifyProgramPath(CDebugUtils)的org.eclipse.cdt.debug.core.CDebugUtils.verifyProgramPath(CDebugUtils.java:658)上找不到Asus \\ workspace \\ Working \\ Debug \\ Working.exe .java:674),位于组织org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:71),位于org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:85)。在org.eclipse.debug.internal.ui上的eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)在org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)在org.eclipse.debug.internal.ui上。 org.eclipse.debug.internal.ui.DebugUIPlugin $ 8.run(DebugUIPlugin.java:1251)的DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)在org.eclipse.core.internal.jobs.Wor kerindex.php.run(Worker.java:53) kerindex.php.run(Worker.java:53)

With all this annoying problems I can't use eclipse anymore; 由于所有这些烦人的问题,我不能再使用eclipse了。 I have to restart my pc in order to work again, but the problem rises again and again... I use win 7 64 bit with mingw gnu 4.9.1. 我必须重新启动我的PC才能再次工作,但是问题又一次出现...我使用mingw gnu 4.9.1使用win 7 64位。 compiler 编译器

Please help me ! 请帮我 !

Probably the .metadata of your worksapce has been corrupted. 您的工作空间的.metadata可能已损坏。 Copying your project to a new workspace could get rid of the problem. 将您的项目复制到新的工作区可以解决此问题。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM