已經安裝了整合java版本的eclipse,eclipse-java-indigo-SR1-win32.zip,在添加CDT外掛程式時,遇到了問題。cdt-master-8.0.1.zip http://www.eclipse.org/cdt/通過help->install new software安裝,提示以下錯誤:
Cannot complete the install because one or more required items could not be found.
Software being installed: C/C++ Remote Launch 6.0.0.201109151620 (org.eclipse.cdt.launch.remote.feature.group 6.0.0.201109151620)
Missing requirement: C/C++ Remote Debug Launcher 2.3.0.201109151620 (org.eclipse.cdt.launch.remote 2.3.0.201109151620) requires 'bundle org.eclipse.rse.ui [3.0.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: C/C++ Remote Launch 6.0.0.201109151620 (org.eclipse.cdt.launch.remote.feature.group 6.0.0.201109151620)
To: org.eclipse.cdt.launch.remote [2.3.0.201109151620]
從上面的錯誤資訊可以看出,缺少了org.eclipse.rse.ui在eclipse上可以找到各版本eclipse的區別:http://www.eclipse.org/downloads/compare.php對比可以發現,整合了CDT的eclipse多了一個RSE組件,所以單獨下載RSE組件:RSE-runtime-3.3.1.zip http://www.eclipse.org/tm/通過help->install new software方式安裝RSE時出錯了,不管它,直接解壓複製到eclipse相應目錄下即可
再次安裝CDT,成功了