如何在Aptana Studio 3上安装CDT插件

时间:2011-09-18 00:55:27

标签: eclipse aptana eclipse-cdt

尝试的事情: 转到安装新软件 - >选定的C / C ++开发工具。 我收到以下错误

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]

2 个答案:

答案 0 :(得分:5)

确保您尝试安装的插件(C / C ++开发工具)适用于您正在使用的Aptana / Eclipse版本。您正在使用的Aptana版本似乎依赖于Debug Core 3.6.0.v20100519(org.eclipse.debug.core 3.6.0.v20100519),而您正在安装的dev工具插件的版本取决于org.eclipse。 debug.core [3.7.0,4.0.0],因此你得到的冲突。尝试安装旧版本的dev工具插件,该插件适用于Eclipse Helios(3.6。),而不是Eclipse Indigo(3.7。)。

祝你好运。

答案 1 :(得分:1)

使用以下更新站点:

  

http://download.eclipse.org/tools/cdt/releases/indigo   http://download.eclipse.org/tools/cdt/releases/helios

这些对我有用。 但只安装CDT主要功能。