使用C ++为科学linux安装Eclipse

时间:2015-02-21 21:44:06

标签: c++ linux eclipse

我在这台科学的linux机器上安装了Eclipse。但是当我去Windows时 - >首选项,我没有看到C ++列出。然后我去了帮助 - >安装新的SOftware - > WOrk用 - > Eclipse Juno存储库并且只检查了“C / C ++开发工具”。然后我收到消息“操作无法完成”,并在详细信息下说

Cannot complete the install because of a conflicting dependency. Software being installed: C/C++ Development Tools 8.1.2.201302132326 (org.eclipse.cdt.feature.group 8.1.2.201302132326) Software currently installed: Shared profile 1.0.0.1306272994665 (SharedProfile_PlatformProfile 1.0.0.1306272994665) Only one of the following can be installed at once: Debug Core 3.7.100.v20120521-2012 (org.eclipse.debug.core 3.7.100.v20120521-2012) Debug Core 3.6.0.v20100519 (org.eclipse.debug.core 3.6.0.v20100519) Cannot satisfy dependency: From: Shared profile 1.0.0.1306272994665 (SharedProfile_PlatformProfile 1.0.0.1306272994665) To: org.eclipse.debug.core [3.6.0.v20100519] Cannot satisfy dependency: From: C/C++ Development Tools Debugger UI 7.2.0.201302132326 (org.eclipse.cdt.debug.ui 7.2.0.201302132326) To: bundle org.eclipse.debug.core [3.7.0,4.0.0)"

我该如何解决这个问题?还有其他我可以在Eclipse中使用C ++吗?

1 个答案:

答案 0 :(得分:0)

您应该可以使用分发存储库安装CDT插件。

sudo yum install eclipse-cdt