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.
Hi there.
I've been using CCS on Linux for a few years now. Last week, I realized I was still on version 10 and decided to see if there was an update. Of course, versions 11 and 12 have since come out. So I uninstalled 10 and installed 12, but it wouldn't launch. After trying to launch it in console, I got this error:
$ ./ccstudio SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback. Ccstudio: An error has occurred. See the log file /home/amr/.eclipse/org.eclipse.platform_4.23.0_116415445_linux_gtk_x86_64/configuration/1667177880852.log.
This made me look into what swt-pi3 and swt-pi4 are. It turns out I do have swt-pi4 on my Arch Linux system. This issue has not only affected me, but also others, as seen by the comments on the AUR package of ccstudio. The contents of the .log file referenced above can be seen here. The lines where it references Can't load library: show the correct location of the libswt-pi4.so. I decided to try this on Fedora, and I have the exact same issue, so it seems to affect multiple distros.
In the ccs/eclipse folder, I am able to launch the eclipse binary, which launches a stock eclipse session. So it's definitely something that TI has changed that is causing the issue. In the meantime, I've been using Code Composer on a different machine but this is a big issue for me as I use CCS professionally. On a similar note, I am unable to run the TI Cloud Agent (I tried to use the CCS Cloud version in the meantime) on either distro as well. It crashes with an illegal instruction error. I might make another post about this if I have the time.
Any help would be greatly appreciated. I am going to notify the other users about this thread so they can contribute any additional data they have. I am more than happy to run debuggers and/or provide any requested system data.
The weird thing is that ccstudio is looking for swt libs in the home folder, inside a dot-folder called ".swt". In the logs, it says that it could not load the swt-pi* libs because files aren't there, but they are.
Hello
on my Arch Linux system
Note that Arch Linux is not an officially support distro by CCS. I have used it successfully in the past but (like you) I was using much older version.
What version of Arch linux are you using?
Thanks
ki
Arch is a rolling release, so there aren't "versions" per se. I'm fully updated to the latest packages available. And yeah, I know it's not officially supported, but there's no valid reason it shouldn't work as it's a Java application and Eclipse works just fine. I'm surprised that the exact same error is happening on both Fedora and Arch, which are totally unrelated distros. I am currently installing an Ubuntu VM just to see if it does indeed work on 21.04 LTS.
I am currently installing an Ubuntu VM just to see if it does indeed work on 21.04 LTS.
Not that CCS is only supported on offical LTS releases (21.04 is not an LTS release). 20.04 LTS and 22.04 LTS are supported by CCS 12.
I did successfully use CCS 11 with 21.04 and 21.10 though.
22.04LTS.
Sounds good. I have a Ubuntu 22.04 LTS machine and CCS 11 and 12 work well with it. Please let me know how it goes for you.
I will also see if I can set up an Arch Linux environment with CCS working. I''ll keep you posted of my progress
Thanks
ki
I found a solution, please see: aur.archlinux.org/.../ccstudio
Thank you for sharing!