麻烦将valgrind整合到eclipse中

时间:2012-11-16 12:36:04

标签: eclipse valgrind

我一直在尝试安装Valgrinds工具集成

  

(Linux工具:http://download.eclipse.org/linuxtools/update

使用eclipse,但在安装过程中出现以下错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Valgrind Tools Integration 1.0.0.201209191645 (org.eclipse.linuxtools.valgrind.feature.group 1.0.0.201209191645)  
  Missing requirement: **Tools Launcher Core 1.1.0.201209191645 (org.eclipse.linuxtools.tools.launch.core 1.1.0.201209191645) requires 'bundle org.eclipse.ui 3.7.0' but it could not be found**  
  Cannot satisfy dependency:
    From: Valgrind Core Plug-in 1.0.0.201209191645 (org.eclipse.linuxtools.valgrind.core 1.0.0.201209191645)  
    To: bundle org.eclipse.linuxtools.tools.launch.core 0.0.0  
  Cannot satisfy dependency:
    From: Valgrind Tools Integration 1.0.0.201209191645 (org.eclipse.linuxtools.valgrind.feature.group 1.0.0.201209191645)  
    To: org.eclipse.linuxtools.valgrind.ui [1.0.0.201209191645]  
  Cannot satisfy dependency:
    From: Valgrind UI Plug-in 1.0.0.201209191645 (org.eclipse.linuxtools.valgrind.ui 1.0.0.201209191645)
    To: package org.eclipse.linuxtools.internal.valgrind.core 0.0.0

我尝试安装其他CDT工具,但它们也没有安装,它们显示错误:

  

无法找到bundle org.eclipse.cdt.launch 7.0.0

在另一个场合:

  

无法找到bundle org.eclipse.core.runtime 3.6.0 org.eclipse.core.filesystem 1.3.100。

我尝试搜索各个包

  

(例如http://grepcode.com/snapshot/repository.grepcode.com/java/eclipse.org/3.6/org.eclipse.core/runtime/3.6.0

但无法安装它们。请帮忙。

1 个答案:

答案 0 :(得分:1)

你的CDT太过时了,无法运行最新的linuxtools。而且很可能你的Eclipse太旧而无法运行最近的CDT。

安装最新版本的Eclipse + CDT,3.7或4.2.1。两者都包含最新版本的CDT(8.0或8.1)来安装linuxtools。