Package Details: ccstudio 12.6.0.00008-1

Git Clone URL: https://aur.archlinux.org/ccstudio.git (read-only, click to copy)
Package Base: ccstudio
Description: Texas Instruments Code Composer Studio IDE
Upstream URL: http://www.ti.com/tool/ccstudio
Keywords: c ide msp430
Licenses: custom:TSPA
Submitter: alexei
Maintainer: tapajos
Last Packager: tapajos
Votes: 20
Popularity: 0.65
First Submitted: 2017-06-23 06:06 (UTC)
Last Updated: 2024-01-15 15:33 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

dccafe commented on 2022-11-03 02:00 (UTC)

I haven't tried it yet. Will try tomorrow.

archio commented on 2022-11-03 00:26 (UTC)

but did it work for you dccafe?

archio commented on 2022-11-03 00:22 (UTC)

I found this, so I searched how to run eclipse with some other version of jre and figured out that you should modify the -vm flag. Then I tried ommiting the flag because the eclipse.ini in the same dir doesn't use it and ccstudio just worked. I thought it was using the system jre but I uninstalled the jre and it still works, so I dont know.

dccafe commented on 2022-11-02 23:49 (UTC)

How did you find that out?

archio commented on 2022-11-02 22:49 (UTC) (edited on 2022-11-02 22:57 (UTC) by archio)

I found a solution to the swt problem. Go to <ccs_install_dir>/ccs/eclipse, open the file ccstudio.ini in your editor and remove the first two lines i.e

-vm 
jre/lib/server/libjvm.so

Now you should be able to run ccstudio just fine.

MrAureliusR commented on 2022-11-01 04:16 (UTC)

It might be worthwhile looking into making this into an AppImage or Flatpak. That would solve the issue and also make it work on every distro. I've been reading about what it would take to make it a Flatpak and it's definitely closer to "possible with some effort" than "needs a whole hacker team" to make happen.

MrAureliusR commented on 2022-10-31 01:10 (UTC)

Hey folks -- I created a topic on the E2E forum for this issue. Hopefully TI can shed some light on what's going on.

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1166266/code-composer-v11-and-v12-not-working-on-linux

MrAureliusR commented on 2022-10-29 01:00 (UTC)

Having the same error as Kris-G both when using this package and installing v11 or v12 manually from the TI website. This is a huge issue for me as I use CCS professionally. I've had to start using a Windows VM in the meantime which... sucks.

I've been meaning to post on TI's E2E forum about this, just haven't gotten around to it yet. I've used versions 8, 9 and 10 on Linux with no issues whatsoever. Even version 10 works fine on Arch (or it did, I uninstalled it when I saw there were updates and haven't tried re-installing it).

dccafe commented on 2022-10-29 00:59 (UTC)

We should start a forum discussion about the swt-pi4 dependecy

Kris-G commented on 2022-10-28 07:31 (UTC)

An error occured when executing /opt/ccstudio/ccs/eclipse/ccstudio after pacman -Syu. So the required swt-pi4-gtk-4942r22 is not included in the package?

!SESSION 2022-10-28 15:07:33.570 -----------------------------------------------
eclipse.buildId=4.19.0.I20210303-1800
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=zh_CN
Framework arguments:  -product com.ti.ccstudio.branding.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.ti.ccstudio.branding.product

!ENTRY org.eclipse.osgi 4 0 2022-10-28 15:07:34.869
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
    no swt-pi4-gtk-4942r22 in java.library.path: [/opt/ccstudio/ccs/eclipse/jre/lib/server, /opt/ccstudio/ccs/eclipse/jre/lib, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
    no swt-pi4-gtk in java.library.path: [/opt/ccstudio/ccs/eclipse/jre/lib/server, /opt/ccstudio/ccs/eclipse/jre/lib, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
    Can't load library: /home/klu/.swt/lib/linux/x86_64/libswt-pi4-gtk-4942r22.so
    Can't load library: /home/klu/.swt/lib/linux/x86_64/libswt-pi4-gtk.so

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:338)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:257)
    at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:96)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:163)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:726)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:168)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:182)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1461)