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.

Install CCSv5 on Linux OpenSuse 12.3

Other Parts Discussed in Thread: CCSTUDIO

Hi Guys , I am trying to install CCSv5 (5.2 ) on my Linux Computer. I am following this Guide http://processors.wiki.ti.com/index.php/Code_Composer_Studio_v5_Users_Guide. After the Installation , I cannot Launch the CCSv5 Programm . When I click of the Icone , I don´t have a response .

My Question : can Opensuse Linux 12.3 Support CCSv5 ?

thank you for reply

Sorry for my poor English

Lopez

  • Lopez,

    I have an unreleased version of a script that checks whether you have all the dependencies required to run CCS. Would you be able to try this to see if it finds any missing dependencies?  The wiki page is located here.

    The dependency list was created for CCSv5.4 (which should be released in about 1 week), but v5.3 has a very similar set of requirements. I have not checked v5.2.

  • Thank you AndyW

    I have run the script and the Output see like this :

    t0129428@wseu129:~/Dokumente> ./check_depends.sh

    Installed versions of glibc and glibcxx: GLIBC_2.17, N/A

    Required versions of glibc and glibcxx:  GLIBC_2.7, GLIBCXX_3.4.16

    Checking availability of libraries in ext-depends.txt ...

    Failed to find lib: libasound.so.2

    Failed to find lib: libatk-1.0.so.0

    Failed to find lib: libcairo.so.2

    Failed to find lib: libdbus-1.so.3

    Failed to find lib: libdbus-glib-1.so.2

    Failed to find lib: libfontconfig.so.1

    Failed to find lib: libfreetype.so.6

    Failed to find lib: libgconf-2.so.4

    Failed to find lib: libgdk_pixbuf-2.0.so.0

    Failed to find lib: libgdk-x11-2.0.so.0

    Failed to find lib: libglib-2.0.so.0

    Failed to find lib: libgmodule-2.0.so.0

    Failed to find lib: libgnomevfs-2.so.0

    Failed to find lib: libgobject-2.0.so.0

    Failed to find lib: libgthread-2.0.so.0

    Failed to find lib: libgtk-x11-2.0.so.0

    Failed to find lib: libhistory.so.4

    Failed to find lib: libICE.so.6

    Failed to find lib: libjpeg.so.62

    Failed to find lib: libnotify.so.1

    Failed to find lib: libodbcinst.so

    Failed to find lib: libodbc.so

    Failed to find lib: libORBit-2.so.0

    Failed to find lib: libpango-1.0.so.0

    Failed to find lib: libpangocairo-1.0.so.0

    Failed to find lib: libpangoft2-1.0.so.0

    Failed to find lib: libpng12.so.0

    Failed to find lib: libreadline.so.4

    Failed to find lib: libSM.so.6

    Failed to find lib: libusb-0.1.so.4

    Failed to find lib: libXi.so.6

    Failed to find lib: libXrender.so.1

    Failed to find lib: libXt.so.6

    Failed to find lib: libXtst.so.6

    Done.

    Note that libhistory, libnotify, libodbcinst, libodbc, and libreadline are unlikely to be required if they appear in this list and can be ignored.

    so I am going to try to install all this dependency and try again to launch CCSv5

    Best Regards

  • Hi , I found all the Dependency on my System . and I am running the setup...5.0.2.bin  again but nothings happens. I have running OpenSuse 12.3 and I do have execute permissions on the setup/installer files.

    Best Regards

    Lopez

  • I'll give it a try here. Was that the 32-bit or 64-bit version?

  • I was able to get CCS v5.4 working on OpenSuse 12.3 x64. Only a couple of dependencies were missing.  One difficult one to resolve was the libjpeg.so.62 dependency. I ended up creating a simlink to libjpeg.so.8 as was suggested on various OpenSuse formus, but the two libs are not backward compatible.  It seems to be working though.

  • I am installing some 32-bits Dependency . And the Programm was able to start , but after view millisecond it is crashed again . Maybe I am going to try with the CCsv5.3 Version .

    Best regards

  • hi , I am now installing CCS v5.3 on my Opensuse X86_64 . I running the CCS .v5 with Root . But After install CCS v5.3  it is crashed again

    that is the log.file Error

    SESSION 2013-04-26 11:21:05.102 -----------------------------------------------
    eclipse.buildId=I20120608-1200
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
    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-04-26 11:21:05.866
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /home/t0129428/.eclipse/org.eclipse.platform_3.8_692372347/configuration/org.eclipse.osgi/bundles/303/2/.cp/libswt-pi-gtk-3833.so: libgthread-2.0.so.0: falsche ELF-Klasse: ELFCLASS64
        no swt-pi-gtk in java.library.path
        /home/t0129428/.swt/lib/linux/x86/libswt-pi-gtk-3833.so: libgthread-2.0.so.0: falsche ELF-Klasse: ELFCLASS64
        Can't load library: /home/t0129428/.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)

    I think eclipse don´t work .

    Please Help

    Best Regards

    Lopez

  • this is the Log.file that Eclipse generate by starting

    !SESSION 2013-04-26 12:28:20.776 -----------------------------------------------
    eclipse.buildId=I20120608-1200
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
    Command-line arguments:  -os linux -ws gtk -arch x86

    !ENTRY org.eclipse.osgi 4 0 2013-04-26 12:28:21.556
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /home/t0129428/.eclipse/org.eclipse.platform_3.8_692372347/configuration/org.eclipse.osgi/bundles/303/2/.cp/libswt-pi-gtk-3833.so: libgthread-2.0.so.0: falsche ELF-Klasse: ELFCLASS64
        no swt-pi-gtk in java.library.path
        /home/t0129428/.swt/lib/linux/x86/libswt-pi-gtk-3833.so: libgthread-2.0.so.0: falsche ELF-Klasse: ELFCLASS64
        Can't load library: /home/t0129428/.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)

  • For some reason a 64-bit library is trying to be loaded.  CCS is a 32-bit application and must use the 32-bit JVM supplied with CCS. When running on a 64-bit Linux OS, the 32-bit versions of all the dependencies must also be available.

  • Hi , I am getting worked , but CCS crashed after I choose a workspace. This is the Error File output : 

    An unexpected error has been detected by Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0xf77a51cd, pid=9591, tid=4149794496
    #
    # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode linux-x86)
    # Problematic frame:
    # C  [ld-linux.so.2+0x91cd]

    About this Failure I am found this Post:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/236697.aspx.

    now I trying this.

    Thank you for your Help

  • Hi Andy ,

    CCS v5.3 is now working fine.

    Thank you for Help

  • Hi Andy. Don't know if you're still following this thread.

    Your instructions are clear enough, however:

    "on a 64-bit Linux OS, the 32-bit versions of all the dependencies must also be available."

    But I get conflicts when I try to have 32-bit versions, and if I try to ditch the 64-bit versions, my distro wants to toss out all of gnome (!):

    The following packages have unmet dependencies:
    libidl0 : Conflicts: libidl0:i386 but 0.8.14-0.2 is to be installed
    libidl0:i386 : Conflicts: libidl0 but 0.8.14-0.2 is to be installed

    Distro is Debian 7.1 (wheezy) amd64, but I'd be surprised if recent Ubuntu doesn't have the same issue.

    Multiarch is properly configured (I think).

    Any suggestions? Andy or anyone?

    Mike

  • WHOOPS.

    I now notice that there are warnings about Ubuntu 64-bit in the Linux Host Support article.

    Nevermind. To avoid wasting time I'll fire up a little dedicated (for CCS) 32-bit VM and try Debian 7.1 i386, then latest TI-supported 32-bit Ubuntu if I'm still stuck.

    Thanks all.

    Mike