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.

[参考译文] CCS/CCStudio:尝试在 Docker 容器中安装 CCS 9.1.0

Guru**** 2188665 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/845856/ccs-ccstudio-trying-to-install-ccs-9-1-0-in-docker-container

器件型号:CCStudio

工具/软件:Code Composer Studio

您好!

我想在运行 Ubuntu 18.04的 Docker 容器中构建我的 CCS MSP430项目。

我认为我成功地使用以下命令行安装了 CCS 9.1.0:

ccs_setup_linux64_9.1.0.00010.bin --mode unattended --prefix /ti --response 文件/home/CCS9.1.0.00010_linux-x64/response.txt 

使用随附的响应文件:

e2e.ti.com/.../3582.response.txt

然后、当我尝试使用以下命令行构建我的项目时:

Eclipse -noSplash -data -application com.ti.ccstudio.apps.projectBuild -ccs.project 

我得到以下错误:

!Message Application error
!stack 1
java.lang.RuntimeException:application "com.ti.ccstudio.apps.projectBuild" could not be found in the registry。 可用的应用程序包括:org.eclipse.ant.core.antRunner、org.eclipse.cdt.Codan.core.application、org.eclipse.cdt.core.GeneratePDOM、org.eclipse.cdt.core.CodeFormatter、org.eclessse.cdt.lipedbuilder.headbuilder.managed、 org.eclipse.e4.ui.workbench.swt.e4Application、org.eclipse.e4.ui.workbench.swt.GenTopic、org.eclipse.equinox.app.error、org.eclipse.equinox.p2.director、org.eclipse.equinox.p2.garecolleter.p2.p2.gr、应用程序 org.eclipse.equinox.p2.publisher.InstallPublisher、org.eclipse.equinox.p2.publisher.EclipseGenerator、org.eclipse.equinox.p2.publisher.ProductPublisher、publiser.eclipse.equinox.p2.org.FeaturesAndBunders.org.eclesse.p2.clipers.p2.p2.p2.clipers.p2.p2.application, publisher.org.org.eclipers org.eclipse.equinox.p2.repo2runable、org.eclipse.equinox.p2.repository.metadataverifier、org.eclipse.equinox.p2.reartifilitive.repositor.org.eclipse.equorApplication、org.eclipse.p2.metadatematia.p2.metadorapique.ecorApplication、touchpoint.eclips.p2.napiages.p2.tos.orapi.p2.p2.touchpoint.api.p org.eclipse.equinox.p2.updatesite.UpdateSitePublisher、org.eclipse.equinox.p2.publiser.UpdateSitePublisher、publiser.eclipse.equinox.p2.org.CategoryPublisher、org.eclipse.help.base.infocenterApplication、org.eclipse.helpbase.helpApplication、 org.eclipse.help.base.indexTool、org.eclipse.ui.ide.workbench, com.ti.ccstudio。p2app, com.ti.common.core.initialize。
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native 方法)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
在 org.eclipse.equinox.launcher.Main.basicRun (Main.java:592)
org.eclipse.equinox.launcher.Main.run(Main.java:1498)
在 org.eclipse.equinox.launcher.main.main (Main.java:1471) 

我缺少什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您是否能够从 CCS IDE 构建您的项目?

    谢谢

    Ki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是的、我能够从 IDE 构建我的项目。实际上、我设法从 Docker 容器构建它。 缺少的是,我需要将 i386体系结构添加到软件包管理器中,以便 i386库能够正确安装,但我仍然有问题。

    安装 CCS 9.1.0后、我的编译可以正常工作、但我想使用特定版本的 TI 编译器(18.1.6)。 使用以下命令行安装此版本的 TI 编译器后:

    Eclipse -application org.eclipse.equinox.p2.director -repository software-dl.ti.com/.../ -installIU com.ti.cgt.msp430.17.linux.feature.group 

    当我尝试使用之前使用的相同命令行启动新编译时、我什么也不会得到。 终端窗口中不打印任何内容,几秒钟后命令提示符将返回。

    我已将我的 Dockerfile (.txt 格式)附加到此线程。

    是否有任何想法、问题可能是什么?

    e2e.ti.com/.../8267.Dockerfile.txt

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我通过安装编译器并从 http://www.ti.com/tool/download/MSP-CGT-17下载安装程序、而 不是通过 eclipse 的插件系统、成功地实现了这一目的。

    以下是更新后的 Dockerfile:

    e2e.ti.com/.../8877.Dockerfile.txt