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

ccs编译问题

小弟是新手,之前学习和代码修改都是在例程里操作。现在自己新建工程,编译存在问题,望各位大大简答,感激不尽啊,是不是头文件包含存在问题,我是照着系统例程来包含的??

**** Build of configuration Debug for project SPII ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all'Building file: ../DSP281x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/bin/cl2000" -v28 -ml -mt -g

–include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include"

–include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais"

–include_path="C:/ti/bios_6_35_01_29/packages"

–include_path="C:/ti/ccsv5/ccs_base" –include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include"

–include_path="C:/ti/uia_1_03_00_02/packages"

–include_path="C:/ti/xdctools_3_25_00_48/packages" –diag_warning=225

–display_error_number –diag_wrap=off –preproc_with_compile

–preproc_dependency="DSP281x_CodeStartBranch.pp" "../DSP281x_CodeStartBranch.asm"
"../DSP281x_CodeStartBranch.asm", ERROR! : [E1000] Cannot open source file

../DSP281x_CodeStartBranch.asm: No such file or directory

>> Compilation failure
gmake: *** [DSP281x_CodeStartBranch.obj] Error 1
'Building file: ../DSP281x_DefaultIsr.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/bin/cl2000" -v28 -ml -mt -g –include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include" –include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" –include_path="C:/ti/bios_6_35_01_29/packages" –include_path="C:/ti/ccsv5/ccs_base" –include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include" –include_path="C:/ti/uia_1_03_00_02/packages" –include_path="C:/ti/xdctools_3_25_00_48/packages" –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="DSP281x_DefaultIsr.pp" "../DSP281x_DefaultIsr.c"
Fatal error #5: could not open source file "../DSP281x_DefaultIsr.c"
1 fatal error detected in the compilation of "../DSP281x_DefaultIsr.c".
Compilation terminated.

>> Compilation failure

下面还有一堆一样编译出错的,说是不能打开源文件???

jiannan shi:

我用ccs v5自带的新建工程建立了那个helloworld.c的模板例程也提示相似错误,这是怎么回事???编译器自带的例程也出错??求教求教

小弟是新手,之前学习和代码修改都是在例程里操作。现在自己新建工程,编译存在问题,望各位大大简答,感激不尽啊,是不是头文件包含存在问题,我是照着系统例程来包含的??

**** Build of configuration Debug for project SPII ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all'Building file: ../DSP281x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/bin/cl2000" -v28 -ml -mt -g

–include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include"

–include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais"

–include_path="C:/ti/bios_6_35_01_29/packages"

–include_path="C:/ti/ccsv5/ccs_base" –include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include"

–include_path="C:/ti/uia_1_03_00_02/packages"

–include_path="C:/ti/xdctools_3_25_00_48/packages" –diag_warning=225

–display_error_number –diag_wrap=off –preproc_with_compile

–preproc_dependency="DSP281x_CodeStartBranch.pp" "../DSP281x_CodeStartBranch.asm"
"../DSP281x_CodeStartBranch.asm", ERROR! : [E1000] Cannot open source file

../DSP281x_CodeStartBranch.asm: No such file or directory

>> Compilation failure
gmake: *** [DSP281x_CodeStartBranch.obj] Error 1
'Building file: ../DSP281x_DefaultIsr.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/bin/cl2000" -v28 -ml -mt -g –include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include" –include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" –include_path="C:/ti/bios_6_35_01_29/packages" –include_path="C:/ti/ccsv5/ccs_base" –include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.3/include" –include_path="C:/ti/uia_1_03_00_02/packages" –include_path="C:/ti/xdctools_3_25_00_48/packages" –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="DSP281x_DefaultIsr.pp" "../DSP281x_DefaultIsr.c"
Fatal error #5: could not open source file "../DSP281x_DefaultIsr.c"
1 fatal error detected in the compilation of "../DSP281x_DefaultIsr.c".
Compilation terminated.

>> Compilation failure

下面还有一堆一样编译出错的,说是不能打开源文件???

Eric Ma:

回复 jiannan shi:

报错是说DSP281x_CodeStartBranch.asm没法打开,有没加入工程啊?

另外我建议可以直接在例程上修改啦,把不要的文件删掉不就行了,添加你自己要的。

ERIC

赞(0)
未经允许不得转载:TI中文支持网 » ccs编译问题
分享到: 更多 (0)