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.

don't see any TI CCS related functionality on CCSv5.3 GUI installed on Redhat linux

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I download CCSv5.3 Linux offline installation file from TI web site to install on a Redhat linux machine (version 2.6.9-42.0.10.ELsmp). I log in as root. After I untar the installation file to /opt/TI/ directory, I then run the installer as sudo ./ccs_setup_5.3.0.00090.bin &. The installation go through successfully.

I didn't create a shortcut on Desktop during installation. So I launch the CCS studio under /ccsv5/eclipse/ directory and issue the command ./ccstudio. I can see the CCS GUI displaying on my PC. When I browse functionality of the CCS GUI, I don't see any TI CCS related functionality from the top tabs. I also have a CCSv5.3 installed on Windows PC. Comparing to Windowns CCS GUI, on Linux CCS GUI, I don't see any of the following options such as "New CCS Project" or "CCS Example Projects" or "Import Legacy CCS v3.3 Project" or "Import Existing CCS Eclipse Project" options under "Project" tab. Under "Help" tab, on Windows CCS GUI, I see it shows "CCS Support", "CCSv5 Developer Site". But on Linux CCS GUI, I don't see any of these options, and shows "About" instead of ""About Code Composer Studio" options". Seems to me only general Eclipse functionality are shown on CCS GUI.

I click "About" on Linux CCS GUI and then click "Installation Details". I can see all TI CCS related software are being installed such as BIOS, C6000 related software, etc.

I don't see any error during installation process. Can you help me on this?

Thanks,

Bin

  • Hi Bin,

    you will need to launch as sudo.  Could you send a screen capture?  Could you verify you installed all dependancies and this is a fresh installation?  The installation logs are found as follows:

    If you're installing as a non-root user, it goes in ~/.installjammerinfo/. If you're root, it goes in /var/lib/installjammer/

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

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi, Lisa,

    I attached the installation logs in the post. Can you take a look? Yes, it is a fresh installation and I launch CCS as sudo. I will verify the dependencies.

    Thanks,

    Bin

    installjammer.zip
  • Hi, Lisa,

    I capture some screen shots of the CCS GUI on my Linux machine.

    Thanks,

    Bin

    ScreenCapture.pdf
  • Bin,

    It looks like you are installing on RHEL v3 or v4?  Your distro is missing some dependencies that is causing the install to fail silently.The install failure should have been detected and I will file a bug report for that.

    This might help you track down the missing dependencies. RHEL4 is fairly old, so I'm not sure it will be possible to get CCS working on this distro. Do you have access to a more recent version of Linux that you could use? 

  • Hi, Andy,

    I check the RHEL version and it is v4. We have a newer RHEL version linux machine which has RHELv6.2. Do you think CCS will be working on this version? Anyway I installed the CCSv5.3 on this linux machine. Again I log in as root to do the install and the installation is done successfully without any error. Next I tried to launch CCS application. But this time the GUI did not come out at all and the console prints out some error message. I am not able to figure out the error message. Can you help me to check the error? I attach the installation log files as installjammer.zip.

    The error message is listed below:

    !SESSION 2012-12-21 14:43:57.258 -----------------------------------------------
    eclipse.buildId=I20120608-1200
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    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.equinox.app 0 0 2012-12-21 14:44:12.118
    !MESSAGE Product com.ti.ccstudio.branding.product could not be found.

    !ENTRY org.eclipse.osgi 4 0 2012-12-21 14:44:12.455
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /user/msatcm/.eclipse/org.eclipse.platform_3.8_1147420805/configuration/org.eclipse.osgi/bundles/303/2/.cp/libswt-pi-gtk-3833.so: /lib/libgio-2.0.so.0: undefined symbol: g_thread_gettime
        no swt-pi-gtk in java.library.path
        Can't load library: /user/msatcm/.swt/lib/linux/x86/libswt-pi-gtk-3833.so
        Can't load library: /user/msatcm/.swt/lib/linux/x86/libswt-pi-gtk.so
        /user/msatcm/.swt/lib/linux/x86/libswt-pi-gtk-3833.so: /lib/libgio-2.0.so.0: undefined symbol: g_thread_gettime

        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:700)
        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)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

    Thanks,

    Bin

    installjammer.zip
  • Hi,

    Can some one help me to take a look on the errors after the CCS GUI is launched in Linux?

    Thanks,

    Bin

  • Bin

    I don't have a RHEL 6.2 system so I installed Fedora 13 on a virtual machine thinking this would show the same problem and allow me to be specific about a solution to this issue. My Fedora 13 install does not have this problem.  It could be that one of the Fedora updates I applied altered the baseline enough that my version works, I can't be sure.

    Based on the error message, it looks like the issue is with the version of the glib2 library you are using.  I seem to have 2.24.1 installed (see screenshot below). If it is feasible for you to update the version of glib2, this might help resolve the issue. 

  • Hi, Andy,

    I resolved the error when I launched CCSv5 on RHEL6.2. It was a library path issue. However, I am still not able to see any TI CCS related functionality from the top tabs in the GUI. I attach the screen capture of the GUI in the message. I haven't upgraded the glib2 library. Do you think this is related?

    Thanks,

    Bin

    ScreenCapture.pdf
  • Bin

    The installer does make ecplise calls during the installation process, so it is possible that the library path issue affected the installation. There is an installer bug where this type of failure wasn't being detected during installation.  I can tell you for sure if you attach the log here: ~/.installjammerinfo/ccsv5/60556FE5-C1A1-4061-8DF8-FFB8393BAE2D/ccs_setup_5.3.0.00090_install.log if  you were installing as a user, or /var/lib/installjammer/ccsv5/60556FE5-C1A1-4061-8DF8-FFB8393BAE2D/ccs_setup_5.3.0.00090_install.log if you installed as root. You can also look in this file for occurences of "Externalprogramresult" to see if any of these returned an error.  If any of the eclipse calls are returning an error, I would delete the install and re-run it with the corrected library path.

    I also wanted to check that you are running "ccsv5/eclipse/ccstudio" and not "ccsv5/eclipse/eclipse".

  • Hi, Andy,

    The issue is resolved after I make a change on the library include path.

    Thanks for your help.

    Bin