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

报错缺少文件,而文件已经添加

**** Build of configuration Debug for project tft-learning ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all'Building file: ../9325tp.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –symdebug:dwarf –diag_warning=225 –preproc_with_compile –preproc_dependency="9325tp.pp"  "../9325tp.c"
"../9325tp.c", line 2: fatal error: expected a file name
1 fatal error detected in the compilation of "../9325tp.c".
Compilation terminated.

>> Compilation failure
gmake: *** [9325tp.obj] Error 1
'Building file: ../font.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –symdebug:dwarf –diag_warning=225 –preproc_with_compile –preproc_dependency="font.pp"  "../font.c"
"../font.c", line 1: fatal error: expected a file name
1 fatal error detected in the compilation of "../font.c".
Compilation terminated.

>> Compilation failure
gmake: *** [font.obj] Error 1
'Building file: ../main.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –symdebug:dwarf –diag_warning=225 –preproc_with_compile –preproc_dependency="main.pp"  "../main.c"
"../main.c", line 1: fatal error: expected a file name
1 fatal error detected in the compilation of "../main.c".
Compilation terminated.

>> Compilation failure
gmake: *** [main.obj] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project tft-learning
这是consol报的错

图片是报错截图

工程中已经有了工程所有项的截图

Tony Tang:

这个应该是CCS的问题,这个工程是从别的版本导入进来的?还是新建的?建议新建一个工程,同时最好升级到目前新的CCS版本。

赞(0)
未经允许不得转载:TI中文支持网 » 报错缺少文件,而文件已经添加
分享到: 更多 (0)