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:C2000 F28027

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/890683/ccs-c2000-f28027

Thread 中讨论的其他器件:controlSUITE

工具/软件:Code Composer Studio

我在 code composer studio 中遇到此错误

****为项目 trial1构建配置调试****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake"-k -j 4 all -O

构建目标:"trial1.out"
调用:C2000链接器
"c:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000 -v28 -ml -mt -O4 --preinclude="C:/ti/controlSUITE/development_kits/C2000_LaunchPad/F2802x_Device.h --preinclude="C:/ti/controlSUITE/development_kits/C2000_LaunchPad/f2802x_headers/source/F2802x_GlobalVariableDefs.c /ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include --preinclude="C:/ti/controlSUITE/development_kits/C2000_LaunchPad/DSP28x_Project.h /ti/controlSUITE/development_kits/C2000_LaunchPad/f2802x_headers/include -g --xml_warning=225 --diag_wrap=off --display_error_number --abi=triabi -m"trines"-"tratalex-xml_warn="-line-ram_ram_ram_off"--line-ram_ram_line-ram_ram_ram_ram_ram_ram_ram_ram_off-l.cn"-l.inese-ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_off-l.inese-ines"--l.inese-ram_remote_remote_remote_remote_remote_remote_remote_remote_remote_infote_remote_remote_infote_remote_remote_infote_/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/lib -/ti/controlSUITE/development_kits/C2000_LaunchPad/f2802x_common/lib/driverlib.lib -l.ine-ine--l.ine-ine-ine-
Makefile:143:目标'trial1.out'的配方失败
错误#24044-D:Unmatched --end-group 选项(缺少--start-group)。
gmaking[1]:***[trial1.out]错误1.
gmake[1]:目标"辅助输出"不会由于错误而重新生成。
gmake:***[全部]错误2.
Makefile:139:目标'all'的配方失败

****构建完成****

这里出了什么问题?

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

    我在这里看到了几个问题。

    1) 1)-preinclude 选项下的路径应移至-include_path、它们应仅指向路径而不是实际文件
    有关 详细信息、请参阅此相关主题。

    2) 2)有一个不匹配的--start-group 选项的--end-group 链接器选项。 我怀疑您实际上不需要此选项、可能是无意中启用了此选项。 尝试从链接器选项中禁用它并重新构建。

x 出现错误。请重试或与管理员联系。