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/TMS570LC4357:LAUNCHXL2-570LC43

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

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/939802/ccs-tms570lc4357-launchxl2-570lc43

器件型号:TMS570LC4357
主题中讨论的其他器件:TI-CGT

工具/软件:Code Composer Studio

大家好、

我目前正在使用 ccs9.10版本。

我在编译 CCS 工程时遇到一些错误。 下面给出了所示的误差。  请帮助..........

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

"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake"-k -j 6 all -O

编译文件:"../main.c"
调用:ARM 编译器
"c:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl -mv7R5 --code_state=32 --float_support=VFPv3D16 --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include --include_path="C:/Users/advaith/Desktop/new "-g --diag_warning=225 --diag_sup条--display_error_number --enum_type=--abi_preproc_main_preproc.abi_main_main.c。
建筑完工:"../main.c"

构建目标:"new.out"
调用:ARM 链接器
"c:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl -mv7R5 --code_state=32 --float_support=VFPv3D16 -g --diag_warning=225 --diag_size=off --display_error_number --cmd_type=packed --abi=eabi -z -m"new.map"--heap_size=0x800_line-new-linkg-new-line-line-new-linkg-new-ram_line-new-linkg-new-line-new-ram_line-new-linkg-new-new-ram_line-ram_line-new-new-ram_line-new-new-linkg-new-new-ram_line-ram_line-new-new-new-ram_line-new-new-new-ram_line-ram_line-ram_line-new-new-new-new-new-new-linkg-new-new-new-new-new /ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include /ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/lib

警告#10366-D:自动库构建:首次使用库"C:\ti\ccs910\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS \lib\rtsv7R4_A_be_v3D16_eabi.lib"、因此必须进行构建。 这可能需要几分钟的时间。
>>错误:mklib:无法打开 c:/ti/ccs910/ccs/tools/compiler/ti-cgt~3.LTS /lib/\rtsv7R4_A_be_v3D16_eabi.lib、其中模式 w:权限被拒绝
警告#10207-D:自动 RTS 选择:将索引库"libc.a"解析为"rtsv7R4_A_be_v3D16_eabi.lib"、但未找到"rtsv7R4_A_be_v3D16_eabi.lib"
错误#10198-D:中没有连接输入段
警告#10062-D:未定义入口点符号"_c_int00"
警告#10202-D:未找到合适的入口点;设置为0
错误#10010:链接期间遇到错误;未生成"new.out"

>>编译失败
Makefile:140:目标'new.out'的配方失败
gmaking[1]:***[new.out]错误1
Makefile:136:目标“全部”的配方失败
gmake:***[全部]错误2.

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

 

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

    链接 器会自动检测您是否需要 RTS 库 rtsv7R4_A_be_v3D16_eabi.lib。  因为它不存在、所以它会尝试构建它。  由于与目录权限相关的原因、RTS 库的自动编译失败。

    我认为编译器安装的\lib 目录没有写入权限。  启用该目录的写入权限、然后再次尝试构建。

    如果这不起作用、则手动重建库。  请在 TI ARM 编译器手册中搜索 标题为 库构建过程的子章节。

    请告诉我这些建议是否能解决问题。

    谢谢、此致、

    乔治