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 theia 上构建工程后、出现 Makefile 和 gmake 错误

Guru**** 2558370 points
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1392146/tms320f280049c-makefile-and-gmake-error-after-build-project-on-ccs-theia

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

工具与软件:

我正在 M1 macbook air 上使用 CCS theia、当我编译项目时、输出将打印出有关 gmake 或 makefile 的大量错误:

输出如下:

[6]建立目标:"inverter.out"
[7]调用:C2000链接器
[8]"/Applications/ti/ccstheia140/ccs/tools/compiler/ti-cgt-c2000_22.6.1A23259/bin/cl2000 /Applications/ti/ccstheia140/ccs/tools/compiler/ti-cgt-c2000_22.6.1A23259/lib /Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg /syscfg/c2000ware_libraries.obj -v28 -ml -mt -cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --define=debug --rom_diag_support=10063 --inverter_warning=225 --diag_wrap=off --display_error_error_number /Applications/ti/c2000/C2000Ware_5_02_00_00 --/Applications/ti/ccstheia140/ccs/tools/compiler/ti-cgt-c2000_22.6.1A23259/include /syscfg/board.obj /device/device.obj /device/f28004x_codestartbranch.obj /Applications/ti/c2000/C2000Ware_5_02_00_00/driverlib/f28004x/driverlib/ccs/Debug/driverlib.lib  
[9]<Linking>
[10]已完成构建目标:"inverter.out"
 
[11]echo "==== CLB 仿真的构建已移至 CLB 工具。 单击"?" 图标(通过_Generate CLB Simulation File_ enable)、了解更多详细信息(位于 Tile Design SysConfig 模块的全局参数中)====== "
[12]==== CLB 仿真的构建已移至 CLB 工具。 单击"?" 图标(通过_Generate CLB Simulation File_ enable)、了解更多详细信息(位于 Tile Design SysConfig 模块的全局参数中)======
[13]如果0 = 1 /Applications/ti/ccstheia140/ccs/tools/node/node "/Applications/ti/c2000/C2000Ware_5_02_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js " /Applications/ti/c2000/C2000Ware_5_02_00_00/utilities/clb_tool/clb_syscfg /"/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg/clb.dot
[14]makefiles:159:目标"编译后"的配方失败
[15]/bin/sh:-c:第1行:语法错误:文件意外结束
[16]gmake[2]:[post-build]错误2 (已忽略)
[17]If 0 == 1 mkdir"/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/diagrams
[18] makefiles:159:目标"编译后"的配方失败
[19]/bin/sh:-c:第1行:语法错误:文件意外结束
[20]gmake[2]:[post-build]错误2 (已忽略)
[21]if 0 == 1 /Applications/ti/ccstheia140/ccs/tools/node/node /Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg "/Applications/ti/c2000/C2000Ware_5_02_00_00 "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/diagrams "/Applications/ti/c2000/C2000Ware_5_02_00_00/driverlib/.meta/generate_diagrams.js
[22]Underted ;你不能用它来代替你[22]Undert.;我不能用它来代替你
[23]/bin/sh:-c:第1行:语法错误:文件意外结束
[24]gmake[2]:[post-build]错误2 (已忽略)
 
[25]****构建完成****


虽然工程运行正常、可加载到控制器中、但可忽略的错误仍然让我很烦恼。 如何消除这些误差?

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

    此工程中有一个编译后处理步骤在 macOS 上不受支持。

    如果您想要清除错误、可以在此处的工程选项中删除编译后步骤:

    只需选择如上所示的文本、然后点击"删除"即可。

    然后在对话框中点击"OK"

    现在、当你构建时、你将不再得到错误。 该步骤对应用没有影响、与使用该器件上的另一个 CLB 工具相关。

    此致、

    John

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

    感谢您的答复! 这解决了我的问题。