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/TMS320F28335:在 CCS 7.4.0中编译工程时发生编译错误、该工程是在 CCS 6.2.1中创建的

Guru**** 3040470 points

Other Parts Discussed in Thread: CONTROLSUITE

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/878816/ccs-tms320f28335-build-error-when-building-a-project-in-ccs-7-4-0-which-was-created-in-ccs-6-2-1

器件型号:TMS320F28335
Thread 中讨论的其他器件:controlSUITE

工具/软件:Code Composer Studio

我有一个之前在 CCS 6.2.1中成功创建、编译和测试的工程、但是当我尝试在 CCS 7.4.0中编译时、我遇到了以下控制台:


****项目 PKA_BatteryLoadBank 的配置调试构建****

"C:\\ti\\ccsv7\\utils\\bin\\gmake"-k all

'构建目标:"F28335_example_nonBIOS_flash.out"
'调用:C2000链接器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/bin/cl2000 -v28 -ml -mt --float_support=fpu32 -define=_debug -define=larg_model --define=example_nonBIOS -g -diag_warning=225 -diag_wrap=off -display_error_number -quiet -k --asm_sample_nonbios_listing-ms/-output-0x335_sim_ms-output_ms-output_sym_sym-output-output-output_sym_sym_sym-output-0x335_sbc_sback_sym_sym_sym_sym_us-out warn_sections -"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/lib -"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/include -"I:/pars KAVIR Arvand/battery discharge test/DSP Code/rev1.0/BDT"-I:/Documents/university/Other projects/pars Kavir/new docs/Code after dEn/TPU/New PCB/TPU21_04-12-95/include"-"-absolute_link_exit_atteri_-xml-link_ex-/ratteri_ab-/ratteri_ex-ue_link_ex-ue_display_ex-xml-/ratteri_ab-ue_display_gui_ex-ue_for_ex-xml-ue_link_ex-ue_link rom_model -o "F28335_example_nonBIOS_flash.out""../include/rts2800_fpu32_fast_supplement.lib "../include/rts2800_fpu32.lib ""./cdeStartBranch.BIOS""/dSP2833x_nonBIOS"./dSP2833x_gIEobj "./dSP2833x_non.trl./dsp33x./dobj ./ds.non./dsp33x.obj ./ds./dsp33x.trl./non./ds./dspspr.obj /ti/controlSUITE/libs/math/FPUfastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib /cmd/F28335_nonBIOS_flash.cmd

>>编译失败
Makefile:170:目标'F28335_Example_nonBIOS_flash.out'的配方失败
错误#10008-D:找不到文件"rts2800_fpu32_fast_f补 码.lib"
错误#10010:链接期间遇到错误;未生成"F28335_Example_nonBIOS_flash.out"
gmake:***[F28335_example_nonBIOS_flash.out]错误1.
gmake:目标"全部"不会由于错误而重新生成。

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

和问题窗口中的4个错误如下所示:


1-#10010 null:链接期间遇到错误;未编译"F28335_example_nonBIOS_flash.out"。

2-找不到文件"rts2800_fpu32_fast_f늹 up.lib" null:找不到文件"rts2800_fpu32_fast_f늹 up.lib"

3- gmake:***[F28335_example_nonBIOS_flash.out]错误1.

4- gmake:目标'all'不会由于错误而重制。  

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

    链接器命令显示 rts2800_fpu32_fast_补 遗.lib 在3次内链接、每个链接都来自不同的路径。

    "c:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/bin/cl2000-v28 -ml -mt --float_support=fpu32 -define=_debug -define=larg_model --define=example_nonBIOS -g -diag_warning=225 -diag_wrap=off -display_error_number -quiet -k --asm_sample_nonbios_listing-ms/-output-0x335_sim_ms-output_ms-output_sym_sym-output-output-output_sym_sym_sym-output-0x335_sbc_sback_sym_sym_sym_sym_us-out warn_sections -"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/lib-"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/include-"I:/pars KAVIR Arvand/battery discharge test/DSP Code/rev1.0/BDT"-I:/Documents/university/Other projects/pars Kavir/new docs/Code after dEn/TPU/New PCB/TPU21_04-12-95/include"-"-absolute_link_exit_atteri_-xml-link_ex-/ratteri_ab-/ratteri_ex-ue_link_ex-ue_display_ex-xml-/ratteri_ab-ue_display_gui_ex-ue_for_ex-xml-ue_link_ex-ue_link rom_model -o "F28335_example_nonBIOS_flash.out""../include/rts2800_fpu32_fast_supplement.lib "../include/rts2800_fpu32.lib ""./cdeStartBranch.BIOS""/dSP2833x_nonBIOS"./dSP2833x_gIEobj "./dSP2833x_non.trl./dsp33x./dobj ./ds.non./dsp33x.obj ./ds./dsp33x.trl./non./ds./dspspr.obj /ti/controlSUITE/libs/math/FPUfastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib /cmd/F28335_nonBIOS_flash.cmd


    以蓝色突出显示的选项会直接添加到项目中。 红色突出显示的是使用-l (--library)链接器选项添加的。 在 CCS GUI 中,您可以在“项目属性”->“生成”->“链接器”->“文件搜索路径”下找到此选项。

    请确保仅指定此项目所需的相关库之一、并删除其余库。