我的eclipse已经配置好了Java和pydev,现在我想用Eclipse配置C/C++开发工具。我不想为 C/C++ 开发人员下载整个 Eclipse IDE,因为它不方便。所以我决定在我的 Eclipse 中安装 CDT。
Help
==> Install New Software
,然后输入http://download.eclipse.org/tools/cdt/releases/indigo
,稍等片刻,选择了以下CDT Main Features
、CDT Optional Features
和Next,然后出现错误。
Cannot complete the install because of a conflicting dependency.
Software being installed: C/C++ DSF GDB Debugger Integration 4.0.0.201106081058 (org.eclipse.cdt.gnu.dsf.feature.group 4.0.0.201106081058)
Software being installed: C/C++ Development Tools SDK 8.0.2.201202111925 (org.eclipse.cdt.sdk.feature.group 8.0.2.201202111925)
Only one of the following can be installed at once:
GDB DSF Debugger Integration Core 4.0.0.201106081058 (org.eclipse.cdt.dsf.gdb 4.0.0.201106081058)
GDB DSF Debugger Integration Core 4.0.2.201202111925 (org.eclipse.cdt.dsf.gdb 4.0.2.201202111925)
GDB DSF Debugger Integration Core 4.0.1.201109151620 (org.eclipse.cdt.dsf.gdb 4.0.1.201109151620)
Cannot satisfy dependency:
From: C/C++ Development Tools 8.0.2.201202111925 (org.eclipse.cdt.feature.group 8.0.2.201202111925)
To: org.eclipse.cdt.gnu.dsf.feature.group [4.0.1.201202111925]
Cannot satisfy dependency:
From: C/C++ DSF GDB Debugger Integration 4.0.0.201106081058 (org.eclipse.cdt.gnu.dsf.feature.group 4.0.0.201106081058)
To: org.eclipse.cdt.dsf.gdb [4.0.0.201106081058]
Cannot satisfy dependency:
From: C/C++ DSF GDB Debugger Integration 4.0.1.201202111925 (org.eclipse.cdt.gnu.dsf.feature.group 4.0.1.201202111925)
To: org.eclipse.cdt.dsf.gdb [4.0.2.201202111925]
Cannot satisfy dependency:
From: C/C++ Development Tools SDK 8.0.2.201202111925 (org.eclipse.cdt.sdk.feature.group 8.0.2.201202111925)
To: org.eclipse.cdt.feature.group [8.0.2.201202111925]
我在谷歌上搜索了很多时间,但仍然找不到有效的解决方案。谁能帮帮我?非常感谢!
最佳答案
我也遇到过这个问题。我只是下载了已经包含 CDT 的 eclipse 的 c/c++ 模式。有用。如果你不能修复它,你可以试试这个方法。总比没有好。
关于c - Eclipse:由于依赖性冲突,无法安装 CDT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9629066/