2011-09-18 132 views
1

尝试过的东西: 转到安装新软件 - >选定的C/C++开发工具。 我收到以下错误如何在Aptana Studio 3上安装CDT插件

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] 

回答

5

确保您要安装(C/C++开发工具)的插件用于集锦/ 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。)的较旧版本的开发工具插件。

祝你好运。

+1

正确。 Aptana Studio 3独立版基于Eclipse 3.6,因此您需要3.6兼容版本的CDT。或者你可以将Studio 3和CDT作为插件安装到一个vanilla Eclipse 3.7安装中。 – Yun

+0

这是对的。它现在让我开始实际安装,但我仍然有以下错误 – Schu

+0

收集要安装的项目时发生错误 会话上下文为:(profile = AptanaProfile,phase = org.eclipse.equinox.internal.p2.engine.phases .Collect,operand =,action =)。 比较方法违反其总体合同! 比较方法违反其总体合同! – Schu