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.
I have installed Code Composer Studio Version: 12.1.0.00007 on my Oracle Linux Server 8.7 machine. I am able to build example projects for the LP-AM243 development board I have, but when I try to import the same project and build it via the command line I get errors.
12:53:49 $ ./eclipse -noSplash -data ~/workspace/gpio_led_blink -application com.ti.ccstudio.apps.projectImport -ccs.location ~/workspace_ccs/gpio_led_blink_am243x-lp_r5fss0-0_nortos_ti-arm-clang
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See www.slf4j.org/codes.html for further details.
--------------------------------------------------------------------------------
Importing project from '/home/markwar/workspace_ccs/gpio_led_blink_am243x-lp_r5fss0-0_nortos_ti-arm-clang'...
Done!
And the same error when building
13:27:07 $ ./eclipse -noSplash -data ~/workspace/gpio_led_blink -application com.ti.ccsstudio.apps.projectBuild -ccs.configure Debug --ccs.buildType full
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See www.slf4j.org/codes.html for further details.
I have followed the above link and others, but the solution is unclear to me. It seems that I am missing a jar file, but I don't know what I should install or how to add it to my "class path". To make things more confusing I have seen alternate solutions.
Please help me choose the correct logger and how to install it.
Hello,
This is a known issue that should not impact execution. Please see the below link for more details:
https://sir.ext.ti.com/jira/browse/EXT_EP-10874
Thanks
ki
That doesn't help me get past the issue that this build isn't working?
If it is a no impact issue then I need to understand what is failing.
14:35:47 $ cat .log
!SESSION 2022-12-19 14:31:11.524 -----------------------------------------------
eclipse.buildId=4.23.0.I20220308-0310
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application com.ti.ccstudio.apps.projectImport -ccs.location /home/markwar/workspace_ccs/gpio_led_blink_am243x-lp_r5fss0-0_nortos_ti-arm-clang
Command-line arguments: -os linux -ws gtk -arch x86_64 -data /home/markwar/workspace/gpio_led_blink -application com.ti.ccstudio.apps.projectImport -ccs.location /home/markwar/workspace_ccs/gpio_led_blink_am243x-lp_r5fss0-0_nortos_ti-arm-clang
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:12.540
!MESSAGE path=ccs_base/DebugServer
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:12.541
!MESSAGE debugServerDir=/home/markwar/ti/ccs1210/ccs/ccs_base/DebugServer
!SESSION 2022-12-19 14:31:34.214 -----------------------------------------------
eclipse.buildId=4.23.0.I20220308-0310
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application com.ti.ccstudio.apps.projectBuild -ccs.configure Debug --ccs.buildType full
Command-line arguments: -os linux -ws gtk -arch x86_64 -data /home/markwar/workspace/gpio_led_blink -application com.ti.ccstudio.apps.projectBuild -ccs.configure Debug --ccs.buildType full
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:35.211
!MESSAGE path=ccs_base/DebugServer
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:35.212
!MESSAGE debugServerDir=/home/markwar/ti/ccs1210/ccs/ccs_base/DebugServer
!ENTRY com.ti.ccstudio.debug 4 0 2022-12-19 14:31:36.680
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in com.ti.ccstudio.debug.CCSDebugPlugin.stop() of bundle com.ti.ccstudio.debug.
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:890)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.ti.ccstudio.debug.CCSDebugPlugin.shutdownActiveLaunches(CCSDebugPlugin.java:158)
at com.ti.ccstudio.debug.CCSDebugPlugin.doStop(CCSDebugPlugin.java:130)
at com.ti.common.core.BaseTIPlugin.stop(BaseTIPlugin.java:82)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:870)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:862)
... 13 more
Root exception:
java.lang.NullPointerException
at com.ti.ccstudio.debug.CCSDebugPlugin.shutdownActiveLaunches(CCSDebugPlugin.java:158)
at com.ti.ccstudio.debug.CCSDebugPlugin.doStop(CCSDebugPlugin.java:130)
at com.ti.common.core.BaseTIPlugin.stop(BaseTIPlugin.java:82)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:870)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:862)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Unknown Source)
That doesn't help me get past the issue that this build isn't working?
If it is a no impact issue then I need to understand what is failing.
14:35:47 $ cat .log
!SESSION 2022-12-19 14:31:11.524 -----------------------------------------------
eclipse.buildId=4.23.0.I20220308-0310
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application com.ti.ccstudio.apps.projectImport -ccs.location /home/markwar/workspace_ccs/gpio_led_blink_am243x-lp_r5fss0-0_nortos_ti-arm-clang
Command-line arguments: -os linux -ws gtk -arch x86_64 -data /home/markwar/workspace/gpio_led_blink -application com.ti.ccstudio.apps.projectImport -ccs.location /home/markwar/workspace_ccs/gpio_led_blink_am243x-lp_r5fss0-0_nortos_ti-arm-clang
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:12.540
!MESSAGE path=ccs_base/DebugServer
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:12.541
!MESSAGE debugServerDir=/home/markwar/ti/ccs1210/ccs/ccs_base/DebugServer
!SESSION 2022-12-19 14:31:34.214 -----------------------------------------------
eclipse.buildId=4.23.0.I20220308-0310
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application com.ti.ccstudio.apps.projectBuild -ccs.configure Debug --ccs.buildType full
Command-line arguments: -os linux -ws gtk -arch x86_64 -data /home/markwar/workspace/gpio_led_blink -application com.ti.ccstudio.apps.projectBuild -ccs.configure Debug --ccs.buildType full
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:35.211
!MESSAGE path=ccs_base/DebugServer
!ENTRY com.ti.common.core 1 0 2022-12-19 14:31:35.212
!MESSAGE debugServerDir=/home/markwar/ti/ccs1210/ccs/ccs_base/DebugServer
!ENTRY com.ti.ccstudio.debug 4 0 2022-12-19 14:31:36.680
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in com.ti.ccstudio.debug.CCSDebugPlugin.stop() of bundle com.ti.ccstudio.debug.
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:890)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.ti.ccstudio.debug.CCSDebugPlugin.shutdownActiveLaunches(CCSDebugPlugin.java:158)
at com.ti.ccstudio.debug.CCSDebugPlugin.doStop(CCSDebugPlugin.java:130)
at com.ti.common.core.BaseTIPlugin.stop(BaseTIPlugin.java:82)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:870)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:862)
... 13 more
Root exception:
java.lang.NullPointerException
at com.ti.ccstudio.debug.CCSDebugPlugin.shutdownActiveLaunches(CCSDebugPlugin.java:158)
at com.ti.ccstudio.debug.CCSDebugPlugin.doStop(CCSDebugPlugin.java:130)
at com.ti.common.core.BaseTIPlugin.stop(BaseTIPlugin.java:82)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:870)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:862)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Unknown Source)
What is the exact command that is being passed to the console?
Note that Oracle Linux is not a distributon that we officially support so the amount of support we can provide will be limited.
What is the exact command that is being passed to the console?
disregard this question. I see you already mentioned it:
./eclipse -noSplash -data ~/workspace/gpio_led_blink -application com.ti.ccsstudio.apps.projectBuild -ccs.configure Debug --ccs.buildType full
You are missing: -ccs.projects <project name>.
You also have an extra dash in front of "-ccs.buildType"
Is "~/workspace/gpio_led_blink" the actual root workspace folder location or the root location of the project folder in the workspace? (-data is looking for the former)