问题描述
尝试过的事情:转到安装新软件 -> 选定的 C/C++ 开发工具.我收到以下错误
Things tried:Go to Install New Software -> Selected C/C++ development tools.I get the following error
Cannot complete the install because of a conflicting dependency.
Software being installed: C/C++ Development Tools 8.0.0.201106081058 (org.eclipse.cdt.feature.group 8.0.0.201106081058)
Software currently installed: Aptana Studio 3 3.0.4.201108101506-10082011150838 (com.aptana.rcp.product 3.0.4.201108101506-10082011150838)
Only one of the following can be installed at once:
Debug Core 3.7.0.v20110518 (org.eclipse.debug.core 3.7.0.v20110518)
Debug Core 3.6.0.v20100519 (org.eclipse.debug.core 3.6.0.v20100519)
Cannot satisfy dependency:
From: Aptana Studio 3 3.0.4.201108101506-10082011150838 (com.aptana.rcp.product 3.0.4.201108101506-10082011150838)
To: org.eclipse.debug.core [3.6.0.v20100519]
Cannot satisfy dependency:
From: C/C++ Development Tools Debugger UI 7.1.0.201106081058 (org.eclipse.cdt.debug.ui 7.1.0.201106081058)
To: bundle org.eclipse.debug.core [3.7.0,4.0.0)
Cannot satisfy dependency:
From: C/C++ Development Tools 8.0.0.201106081058 (org.eclipse.cdt.feature.group 8.0.0.201106081058)
To: org.eclipse.cdt.platform.feature.group [8.0.0.201106081058]
Cannot satisfy dependency:
From: C/C++ Development Platform 8.0.0.201106081058 (org.eclipse.cdt.platform.feature.group 8.0.0.201106081058)
To: org.eclipse.cdt.debug.ui [7.1.0.201106081058]
推荐答案
确保您尝试安装的插件(C/C++ 开发工具)适用于您正在使用的 Aptana/Eclipse 版本.您使用的 Aptana 版本似乎取决于 Debug Core 3.6.0.v20100519 (org.eclipse.debug.core 3.6.0.v20100519),而您正在安装的开发工具插件的版本取决于 org.eclipse.debug.core [3.7.0,4.0.0),因此您会遇到冲突.尝试安装适用于 Eclipse Helios (3.6.) 而不是 Eclipse Indigo (3.7.) 的旧版开发工具插件.
Make sure the plugin you are trying to install (C/C++ Development Tools) is intended for the version of Aptana/Eclipse you are using. The version of Aptana you are using seems to depend on Debug Core 3.6.0.v20100519 (org.eclipse.debug.core 3.6.0.v20100519), while the version of the dev tools plugin you are installing depends on org.eclipse.debug.core [3.7.0,4.0.0), hence the conflict you are getting. Try to install an older version of the dev tools plugin that is intended for Eclipse Helios (3.6.), and not Eclipse Indigo (3.7.).
祝你好运.
这篇关于如何在 Aptana Studio 3 上安装 CDT 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!