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.

Running CCS 5.3 on Ubuntu 12.10 64x

Hello! I apologize,  if my question is very stupid - I only start to use CCS and Linux.
I have installed CCS 5.3 using online installer for Linux, following the instructions from here: http://processors.wiki.ti.com/index.php/Linux_Host_Support.   Installation was successful.

As a result, I have CCS icon on my desktop(with padlock), but there is not any reaction on click.  When I try to run it from terminal I get an error: " An error has occurred. See the log file /opt/ti/ccsv5/eclipse/configuration/1367395015435.log. "   

Please explain to me how to run the CCS?   I attach the image of the  terminal and 1367395015435.log file.

!SESSION 2013-05-01 11:56:55.330 -----------------------------------------------
eclipse.buildId=I20120608-1200
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=ru_RU
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 2013-05-01 11:56:56.269
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	/opt/ti/ccsv5/eclipse/configuration/org.eclipse.osgi/bundles/303/2/.cp/libswt-pi-gtk-3833.so: libgtk-x11-2.0.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
	no swt-pi-gtk in java.library.path
	/root/.swt/lib/linux/x86/libswt-pi-gtk-3833.so: libgtk-x11-2.0.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
	Can't load library: /root/.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:22)
	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:695)
	at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
	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:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	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:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

  • Hi Krill,

    are you launching with the same permissions/user account you installed with?   Did you install and launch as sudo?  I suspect the pad lock might indicate a permissions item here.

    Best Regards,

    Lisa

  • Lisa is correct that the padlock is there because CCS was installed with root permissions.  Personally I always install as user and then just run the driver install script as sudo.  However it is fine to install as root and run as user.

    When I look at the log it is failing to load some libraries.  I suspect that you are missing some dependencies.  Try downloading and running the script on this page: http://processors.wiki.ti.com/index.php/Checking_Linux_Dependencies_for_CCS

    It will tell you if you are missing libraries that CCS needs to run.  I have 12.10 64bit on my netbook and I can run CCS fine.  Initially I thought I had all the dependencies satisfied but then I ran that script and it found a couple more.

    John

  • Thank you.  

    When I ran this script it found 16 lost library. I started to find, download and install it from www.debian.org/distrib/packages.  I managed to install five of them.

    Another 11 library either have been already  installed (but the script does not find them)  or  have unresolved dependencies (although the packages on which they depend are installed).  

    The result of running through the terminal is the same. 

     attach the image of the sript output with this 11 lib and new log file.

    !SESSION 2013-05-02 11:30:55.771 -----------------------------------------------
    eclipse.buildId=I20120608-1200
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=ru_RU
    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 2013-05-02 11:30:56.755
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
    	/opt/ti/ccsv5/eclipse/configuration/org.eclipse.osgi/bundles/303/2/.cp/libswt-pi-gtk-3833.so: libgtk-x11-2.0.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
    	no swt-pi-gtk in java.library.path
    	/root/.swt/lib/linux/x86/libswt-pi-gtk-3833.so: libgtk-x11-2.0.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
    	Can't load library: /root/.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:22)
    	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:695)
    	at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
    	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:353)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    	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:629)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    

  • Shocking to see libusb in that list.  What type of Ubuntu install did you do?  When I did my install the following command got me all the packages I needed:

    sudo apt-get install ia32-libs libjpeg62:i386 libgnomevfs2-extra:i386 liborbit2:i386

     

    However I wasn't missing some of the ones you are.  To figure out which package is needed I install apt-file (sudo apt-get apt-file) then I could run sudo apt-file search <name of library).  I then I could see the package needed and install it.  Note that you need to install the i386 version.  I will reboot this machine into Ubuntu and show an example in a couple minutes.

  • after you install apt-file you will likely have to run "sudo apt-file update" for it to get the lists of packages.

    Here is an example of how to get one of the libraries you were missing.  You can see th command I used to find the package and then the command to install it (note the :i386 on the end). 

    In my case I already had the package so it complained but for you it should install fine.

    Try this one and then repeat for the other packages

    Regards,

    John

  • Yahoo! Thank you so much, John! I have installed all missing packages using apt-file search and apt-get install and everything works now!

    Thank you!

    Kirill

  • Great to hear.