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.

[参考译文] 编译器/TMS320F280049C:在 CCS 9.2中成功编译、但在 CCS 10.0中失败

Guru**** 2587365 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/895694/compiler-tms320f280049c-compiling-successfully-in-ccs-9-2-but-failed-in-ccs-10-0

器件型号:TMS320F280049C
主题中讨论的其他器件:C2000WARE

工具/软件:TI C/C++编译器

尊敬的 TI 同事

同一个项目在 CCS9.2中成功编译,然后将该项目导出到另一台计算机上,即 File->Export->archive file。

使用 CCS10.0导入并再次编译此项目时出错。 详细信息如下所示。

我不做发生的事情。

谢谢!

BR

JJL3.

错误详细信息:  

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

编译文件:"../main.c"
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 /ti/c2000/C2000Ware_3_01_00_00/driverlib/f28004x/driverlib /ti/c2000/C2000Ware_3_01_00_00/libraries/calibration/hrpwm/f28004x/include /ti/c2000/C2000Ware_3_01_00_00/device_support/f28004x/headers/include /ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include -v28 -ml -mt --cla_support=cla2 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu0 -off -include_path="E:/Myprojects/ti/Shrink_Dcoder2 /ti/c2000/C2000Ware_3_01_00_00/device_support/f28004x/common/include -include_path="C:cabi_support=prendat_super-board-board_background-board=cuse-board_display_background-board=cus_off-board_background-board-board_display_background-cn=cus=cus_background-cn=cus_board_off-board_background-cn_display-cn_background-cn=cus=cus_off-cn_background-cn_display_band_di_board.cn_off-cn_background-cn=-cn_off-cn_board-cn_display-board-cn_background-cn_board-cn_off-cn_off-cn_off-cn_background-cn_support=-cn_support=***-board.cn

>>编译失败
subdir_rules.mk:9:目标'main.obj'的配方失败

内部错误:C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-C2000_20.2.0.LTS \bin\ac2000.exe 遇到分段错误
处理函数时(未知或文件范围)文件(未知)行0

这是由 TI C/C++解析器中的缺陷导致的。
TI 客户支持可能会建议解决方法来避免这种情况。

升级到编译器的最新版本可能会解决此问题。

在 E2E 支持论坛中联系 TI、网址 为 http://e2e.ti.com 、位于
"开发工具"、"TI C/C++编译器"。 请参阅标题为的链接
"提交问题"。

我们需要看到整个错误消息以及完整、可重现的消息
包括所有命令行选项的测试用例。
包含由选项--preproc_with_comment 创建的.pp 文件

gmake:***[main.obj]错误1.
gmake:目标"全部"不会由于错误而重新生成。

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

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

    之前已报告过此问题、将在下一版本20.2.1.LTS 中修复

    解决方法是通过将选项--advice:performance 更改为--advice:performance=none 来禁用性能建议

    sir.ext.ti.com/.../EXT_EP-9733

    谢谢、此致、
    Greg

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

    谢谢!

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

    C28编译器版本20.2.1.LTS、可修复此问题、从4/9/20开始提供。

    您可以使用 CCS 菜单在 CCS 中安装:

      Help -> Install Code Generation Compiler Tools...(帮助->安装代码生成编译器工具...)  

    或在此处下载安装程序:

       http://www.ti.com/tool/download/C2000-CGT-19

    此致、

    Greg

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

    谢谢!