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 20.3:删除链接文件后出现 CLI 构建错误

Guru**** 2568585 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1573446/ccstudio-ccs-20-3-cli-build-error-after-linked-file-is-removed

部件号:CCSTUDIO


工具/软件:

您好、

我尝试使用集成的 CCS-server-CLI 工具使用 CLI 构建我的 CSS 20.3 (theia) 工程。

我按照 https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_theia/ccs_project-command-line.html#build-a-ccs-project 上的说明进行操作

在我的工程中、我删除了不需要或我想替换为自己的实现的链接文件。

在本例中 、我以 BLE5-Stack SimplePeripheral 示例为例。 例如、如果删除了 指向工程的 rcosc_calibration.c/h 链接、则工程会在 CCS 20.3 IDE 中正常编译。 但是、如果我运行 CLI、则会出现错误:

gmake:***没有规则使目标'Application/rcosc_calibration.o'、所有目标都需要。
gmake:由于错误、目标“全部“未重制。

编译前清理没有任何帮助。 选项 -ccs.autoImport 没有帮助。

如何构建工程而不出错?

此致、

Andreas