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

新建的一个工程,编译时断言失败

**** Build of configuration Debug for project led ****
"D:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
Building file: "../main.c"
Invoking: C2000 Compiler
"D:/ti/ccs901/ccs/tools/compiler/ti-cgt-c2000_18.12.1.LTS/bin/cl2000" -v28 -ml -mt –include_path="D:/CCSworkspacev9" –include_path="D:/ti/ccs901/ccs/tools/compiler/ti-cgt-c2000_18.12.1.LTS/include" -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=coffabi –preproc_with_compile –preproc_dependency="main.d_raw"  "../main.c"
subdir_rules.mk:9: recipe for target 'main.obj' failed
 
INTERNAL ERROR: D:/ti/ccs901/ccs/tools/compiler/ti-cgt-c2000_18.12.1.LTS/bin/cl2000 had an internal inconsistency and aborted
                  while processing file ../main.c
 
This is caused by a defect in the TI C/C++ Compiler.
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.
 
gmake: *** [main.obj] Error 2
gmake: Target 'all' not remade because of errors.
**** Build Finished ****

Green Deng:你好,烦请上传一下报错内容。
另外,根据提示应该是编译器出现了问题,可以尝试升级编译器:Help – Install new software – Code Generation Tools Updates 然后选择TI Compiler Updates中其他版本的编译器

**** Build of configuration Debug for project led ****
"D:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
Building file: "../main.c"
Invoking: C2000 Compiler
"D:/ti/ccs901/ccs/tools/compiler/ti-cgt-c2000_18.12.1.LTS/bin/cl2000" -v28 -ml -mt –include_path="D:/CCSworkspacev9" –include_path="D:/ti/ccs901/ccs/tools/compiler/ti-cgt-c2000_18.12.1.LTS/include" -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=coffabi –preproc_with_compile –preproc_dependency="main.d_raw"  "../main.c"
subdir_rules.mk:9: recipe for target 'main.obj' failed
 
INTERNAL ERROR: D:/ti/ccs901/ccs/tools/compiler/ti-cgt-c2000_18.12.1.LTS/bin/cl2000 had an internal inconsistency and aborted
                  while processing file ../main.c
 
This is caused by a defect in the TI C/C++ Compiler.
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.
 
gmake: *** [main.obj] Error 2
gmake: Target 'all' not remade because of errors.
**** Build Finished ****

mangui zhang:这些信息确实不好定位,如果你的CCS工具能够正常编译如controlSUITE里的例程等
自己新建工程从最简单的开始,参考可以正常编译的例程,设置好工程属性,添加全所需源文件

赞(0)
未经允许不得转载:TI中文支持网 » 新建的一个工程,编译时断言失败
分享到: 更多 (0)