Older versions of Code Composer Studio have a known issue with display dependence that will cause command line builds to fail on Linux systems that do not have an X server present. The problem was previously discussed in another forum thread which states the issue was fixed in CCS 5.3.
However, I am running CCS 5.3.0.00090 and I still receive the following error when I try to kick off builds with SSH sans X forwarding:
$ /opt/ti/ccsv5/eclipse/eclipse -noSplash -data /path/to/myworkspace -application com.ti.ccstudio.apps.projectBuild -ccs.projects myproject -ccs.configuration myconfig
[huge error trace]
Caused by: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:913)
at org.eclipse.swt.widgets.Display.create(Display.java:899)
at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
at org.eclipse.swt.widgets.Display.<init>(Display.java:497)
at org.eclipse.swt.widgets.Display.<init>(Display.java:488)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1633)
at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.createProblemsViews(IDEWorkbenchPlugin.java:394)
at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start(IDEWorkbenchPlugin.java:351)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
Running the same build commands in a session with X forwarding enabled works fine. Is there something I am missing here?