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.

[参考译文] CCSTUDIO:如何让 CCS 使用 CCS 命令行查找外部编译器?

Guru**** 2392905 points
Other Parts Discussed in Thread: TI-CGT

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1497559/ccstudio-how-to-let-ccs-find-an-external-compiler-using-ccs-command-line

部件号:CCSTUDIO

工具/软件:

您好!

我的 CCS1040在通过命令行找到安装在 CCS1040安装文件夹之外的编译器 ti-cgt_c2000_22.6.1.LTS 时遇到问题。 这些工程配置为使用  CCS1250安装中安装的编译器 ti-cgt_c2000_22.6.1.LTS、 但系统要求我使用  ccs1040和较新的编译器编译工程。  

首先、我将 ti-cgt_c2000_22.6.1.LTS 复制/粘贴到 ccs1040安装文件夹:  C:\ti\ccs1040\ccs\tools\compiler (旧版本的编译器 ti-cgt_c2000_20.2.5.LTS)中 、但它无法找到编译器。

然后、我 单独安装了 ti-cgt_c2000_22.6.1.LTS 并   向路径变量添加了安装文件夹 C:\ti\compiler\;C:\ti\compiler\ti\c2000_22.6.1.LTS 和 C:\ti\compiler\ti-c2000_22.6.1..bin、但仍然无法找到  编译器、并且报告错误:import failed failed for project cgx"、因为其编译器'xxx.cgt'不可用。 请在导入此工程之前安装 C2000 v22.6编译器。

我的同事 没有遇到这样的问题、因为他 使用的 CCS GUI 可以配置 CCS、从而使用外部编译器、但是我必须使用命令行来自动生成编译、您能帮帮吗?

谢谢

TLI