Installing Code Composer Studio 6 on Ubuntu 14.10 (64-bit)

As of today, Code Composer Studio (ccs) 6 is only available for 32-bit Linux platform.  The good news is that it can be installed on a 64-bit version of Ubuntu and Fedora.

ccs6

In this blog post, I’m going to show a few issues I came across and how to fix them on Ubuntu 14.10 64-bit.

Issue 1:

After the installation, when I ran the ccs, it produces some warning and error messages then quit.

...
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    /home/kenno/apps/ti/ccsv6/eclipse/configuration/org.eclipse.osgi/bundles/244/1/.cp/libswt-pi-gtk-4333.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    no swt-pi-gtk in java.library.path
    /home/kenno/.swt/lib/linux/x86/libswt-pi-gtk-4333.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Can't load library: /home/kenno/.swt/lib/linux/x86/libswt-pi-gtk.so

The fix [1]:

$ sudo apt-get install libgtk2.0-0:i386

Issue 2:

Now that ccs can be launched, but there are still some warnings.

ccstudio:23614): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"

The fix:

$ sudo apt-get install libcanberra-gtk-module:i386

Issue 3:

Here is another warning, which we can get rid of.

(ccstudio:28693): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

The fix [2]:

$ sudo apt-get install gtk2-engines-pixbuf:i386

Issue 4:

This one is similar to the issue #3.


(ccstudio:28917): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

The fix:

$ sudo apt-get install gtk2-engines-murrine:i386

Issue 5:

This one is something to do with the App Center which only shows a blank page. According to the information found in reference [3], the internal web browser, chromium, could not launch because of missing libudev.so.0.

The fix:

 
$ sudo apt-get install libudev1:i386
$ sudo ln -s /lib/i386-linux-gnu/libudev.so.1 /usr/lib/libudev.so.0

Note that you must use libudev.so.1 provided by the 32 bit package.

References:

  1. http://askubuntu.com/questions/356605/ubuntu-13-10-64-bit-machinarium-error-while-loading-shared-libraries-libgtk-x1
  2. http://askubuntu.com/questions/66356/gdk-gtk-warnings-and-errors-from-the-command-line
  3. http://tools1105.rssing.com/chan-14792965/all_p238.html

Leave a Reply

Your email address will not be published. Required fields are marked *