TI中文支持网
TI专业的中文技术问题搜集分享网站

用CCS7.2.0生成的代码,用CCS10编译不通过,是编译器版本不对应吗

用CCS7.2.0生成的代码,用CCS10编译不通过,是编译器版本不对应吗,应该如何选择编译器版本

Description Resource Path Location Type
gmake: Target 'all' not remade because of errors. PCS_INV C/C++ Problem

Susan Yang:

请问您现在还是之前工程遇到的问题?

e2echina.ti.com/…/188139

还是两个CCS版本内都是使用的 TI v 18.1.5版本的吗?

请给出您console 内的完整错误信息

user5106916:

回复 Susan Yang:

是之前的工程,然后新下载了CCS10,就编译不通过,CCS10用的编译器是TI v 20.2.0 ,之前的工程原有的编译器是TI v 6.4.12,是编译器版本的问题吗

user5106916:

回复 Susan Yang:

**** Clean-only build of configuration Debug_Flash for project PCS_INV ****

"C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k clean
DEL /F"PCS_INV.hex""PCS_INV.out"
DEL /F "PCS_INV.obj" "CLA\cla_Inverter.obj" "CLA\initial_CLA.obj"
DEL /F "CLA\initial_CLA.d"
DEL /F "PCS_INV.d"
DEL /F "CLA\cla_Inverter.d"
找不到 F:\30K_biaozhun\GUANGCHU\P1110V320D07_NEW_D01\Debug_Flash\PCS_INV.hex
找不到 F:\30K_biaozhun\GUANGCHU\P1110V320D07_NEW_D01\Debug_Flash\PCS_INV.obj
Finished clean

**** Build Finished ****

**** Build of configuration Debug_Flash for project PCS_INV ****

"C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k all
Building file: "../PCS_INV.cpp"
Invoking: C2000 Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla1 –float_support=fpu32 –tmu_support=tmu0 -O4 –opt_for_speed=5 –fp_mode=strict –fp_reassoc=on –include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/Driver" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/App" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/CLA" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/Driver/F2807x_common/include/FlashAPI" –advice:performance=all –define=CPU1 –define=_FLASH -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=coffabi –preproc_with_compile –preproc_dependency="PCS_INV.d_raw""../PCS_INV.cpp"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'PCS_INV.obj' failed
"..\Driver\Drv_Flash.cpp", line 87: warning #179-D: variable "CSM" was declared but never referenced
"..\App\Classes\Obj_MonInterface.cpp", line 1229: warning #112-D: statement is unreachable
"..\App\Classes\Obj_MonInterface.cpp", line 1193: warning #552-D: variable "FlashWrtFlag" was set but never used
"..\App\Classes\Obj_FlashUpdate.cpp", line 1473: warning #552-D: variable "u16_DestID" was set but never used
"..\App\Classes\Obj_FlashUpdate.cpp", line 1473: warning #552-D: variable "u16SourceID" was set but never used
"..\App\Main.cpp", line 24: warning #1119-D: this assembly directive potentially unsafe inside a function
INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation faultwhile processing function (unknown or file scope) file (unknown) line 0
This is caused by a defect in the TI C/C++ Parser.
TI Customer Support may be able to suggest a workaround to avoid this.
Upgrading to the newest version of the compiler may fix this problem.
Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler".See the link titled
"Submitting an issue".
We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option –preproc_with_comment
gmake: *** [PCS_INV.obj] Error 1
Building file: "../CLA/cla_Inverter.cla"
Invoking: C2000 Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla1 –float_support=fpu32 –tmu_support=tmu0 -O4 –opt_for_speed=5 –fp_mode=strict –fp_reassoc=on –include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/Driver" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/App" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/CLA" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/Driver/F2807x_common/include/FlashAPI" –advice:performance=all –define=CPU1 –define=_FLASH -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=coffabi –preproc_with_compile –preproc_dependency="CLA/cla_Inverter.d_raw" –obj_directory="CLA""../CLA/cla_Inverter.cla"
"../CLA/cla_Inverter.cla", line 464: warning #30013-D: Comparison operation uses integer comparison instruction, which does not operate properly for values that would overflow subtraction.Use –cla_signed_compare_workaround=on to have the compiler work around this issue.
"F:\30K_biaozhun\GUANGCHU\P1110V320D07_NEW_D01\Driver\F2807x_common\include\F2807x_cputimervars.h", line 36: warning #233-D: declaration is not visible outside of function
Finished building: "../CLA/cla_Inverter.cla"
Building file: "../CLA/initial_CLA.c"
Invoking: C2000 Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla1 –float_support=fpu32 –tmu_support=tmu0 -O4 –opt_for_speed=5 –fp_mode=strict –fp_reassoc=on –include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/Driver" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/App" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/CLA" –include_path="F:/30K_biaozhun/GUANGCHU/P1110V320D07_NEW_D01/Driver/F2807x_common/include/FlashAPI" –advice:performance=all –define=CPU1 –define=_FLASH -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=coffabi –preproc_with_compile –preproc_dependency="CLA/initial_CLA.d_raw" –obj_directory="CLA""../CLA/initial_CLA.c"
Finished building: "../CLA/initial_CLA.c"
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

user5106916:

回复 Susan Yang:

就是我在CCS里面下载新的编译器一直报这个错误,该怎么解决

Susan Yang:

回复 user5106916:

请问是否有采用上面给出的解决方法?

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

您现在是想采用更新的版本的编译器?

“就是我在CCS里面下载新的编译器一直报这个错误,该怎么解决”

这里的CCS版本是CCS10还是CCS7.2? 您现在是想主要使用哪个CCS版本?

我对您的描述有些疑惑了

赞(0)
未经允许不得转载:TI中文支持网 » 用CCS7.2.0生成的代码,用CCS10编译不通过,是编译器版本不对应吗
分享到: 更多 (0)