2011-09-18 133 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