已经安装了集成java版本的eclipse,eclipse-java-indigo-SR1-win32.zip,在添加CDT插件时,遇到了问题。
cdt-master-8.0.1.zip
http://www.eclipse.org/cdt/
通过help->install new software安装,提示以下错误:
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
![](http://hi.csdn.net/attachment/201202/8/0_1328687564O6Kp.gif)
对比可以发现,集成了CDT的eclipse多了一个RSE组件,所以单独下载RSE组件:
RSE-runtime-3.3.1.zip
http://www.eclipse.org/tm/
通过help->install new software方式安装RSE时出错了,不管它,直接解压复制到eclipse相应目录下即可
再次安装CDT,成功了