This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linux安装 CCS 6.0.0,提示缺少文件 libXtst.so.6 libswt-pi-gtk.so等



我在ubuntu 12.04 LTS  64位下载了CCS 6.0.0安装的时候提示缺少一些文件,我没有在意,直接略过,安装学的是MSP430,安装后提示错误,我打开LOG里面显示

我也在网上搜索了不少但是都没有解决,缺失的libXtst.so.6我找到了放到了/home/xxxx/.swt/lib/linux/x86/目录下面, libswt-pi-gtk.so没有找到,最终还是没有解决。感觉是SWT没有装的问题。

!SESSION 2014-08-03 08:30:11.948 -----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN
Framework arguments:  -product com.ti.ccstudio.branding.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product com.ti.ccstudio.branding.product

!ENTRY org.eclipse.osgi 4 0 2014-08-03 08:30:12.876
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	/home/xxxx/.eclipse/org.eclipse.platform_4.3.0_1115082116_linux_gtk_x86/configuration/org.eclipse.osgi/bundles/244/1/.cp/libswt-pi-gtk-4333.so: libXtst.so.6: 无法打开共享对象文件: 没有那个文件或目录
	no swt-pi-gtk in java.library.path
	/home/xxxx/.swt/lib/linux/x86/libswt-pi-gtk-4333.so: libXtst.so.6: 无法打开共享对象文件: 没有那个文件或目录
	Can't load library: /home/quoe/.swt/lib/linux/x86/libswt-pi-gtk.so

	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
	at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:31)
	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
	at org.eclipse.swt.widgets.Display.<clinit>(Display.java:133)
	at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:675)
	at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
	at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

  • shuai ma,

    我没有在Linux下装过CCS, 但是在Linux下安装CCS,TI是提供了详细指导文档的,可以参考,

    http://processors.wiki.ti.com/index.php/Download_CCS 下的对应版本安装的指导说明。

    http://processors.wiki.ti.com/index.php/Linux_Host_Support_CCSv6#Installation_Instructions