本文介绍了如何在Aptana Studio 3上安装CDT插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试过的事情:转到安装新软件->选定的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插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 04:25