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

CCS6 导入 proj_la05d 报错 该如何修改

**** Build of configuration Release for project proj_lab05d ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building file: C:/ti/motorware/motorware_1_01_00_17/sw/modules/ctrl/src/32b/ctrl.c'
'Invoking: C2000 Compiler'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt -O2 –include_path="C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/" –include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" –include_path="C:/Users/src" –include_path="C:/ti/motorware/motorware_1_01_00_17" -g –define=FAST_ROM_V1p6 –diag_warning=225 –display_error_number –preproc_with_compile –preproc_dependency="ctrl.pp" "C:/ti/motorware/motorware_1_01_00_17/sw/modules/ctrl/src/32b/ctrl.c"
"C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/hal_obj.h", line 70: fatal error #1965: cannot open source file "user.h"
1 catastrophic error detected in the compilation of "C:/ti/motorware/motorware_1_01_00_17/sw/modules/ctrl/src/32b/ctrl.c".
Compilation terminated.

>> Compilation failure
gmake: *** [ctrl.obj] Error 1
'Building file: C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/hal.c'
'Invoking: C2000 Compiler'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt -O2 –include_path="C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/" –include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" –include_path="C:/Users/src" –include_path="C:/ti/motorware/motorware_1_01_00_17" -g –define=FAST_ROM_V1p6 –diag_warning=225 –display_error_number –preproc_with_compile –preproc_dependency="hal.pp" "C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/hal.c"
"C:\ti\motorware\motorware_1_01_00_17\sw\modules\hal\boards\boostxldrv8301_revB\f28x\f2806x\src\hal_obj.h", line 70: fatal error #1965: cannot open source file "user.h"
1 catastrophic error detected in the compilation of "C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/hal.c".
Compilation terminated.

>> Compilation failure
gmake: *** [hal.obj] Error 1
'Building file: C:/ti/motorware/motorware_1_01_00_17/sw/solutions/instaspin_motion/src/proj_lab05d.c'
'Invoking: C2000 Compiler'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt -O2 –include_path="C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/" –include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" –include_path="C:/Users/src" –include_path="C:/ti/motorware/motorware_1_01_00_17" -g –define=FAST_ROM_V1p6 –diag_warning=225 –display_error_number –preproc_with_compile –preproc_dependency="proj_lab05d.pp" "C:/ti/motorware/motorware_1_01_00_17/sw/solutions/instaspin_motion/src/proj_lab05d.c"
"C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/hal_obj.h", line 70: fatal error #1965: cannot open source file "user.h"
1 catastrophic error detected in the compilation of "C:/ti/motorware/motorware_1_01_00_17/sw/solutions/instaspin_motion/src/proj_lab05d.c".
Compilation terminated.

>> Compilation failure
gmake: *** [proj_lab05d.obj] Error 1
'Building file: C:/ti/motorware/motorware_1_01_00_17/sw/modules/user/src/32b/user.c'
'Invoking: C2000 Compiler'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt -O2 –include_path="C:/ti/motorware/motorware_1_01_00_17/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2806x/src/" –include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" –include_path="C:/Users/src" –include_path="C:/ti/motorware/motorware_1_01_00_17" -g –define=FAST_ROM_V1p6 –diag_warning=225 –display_error_number –preproc_with_compile –preproc_dependency="user.pp" "C:/ti/motorware/motorware_1_01_00_17/sw/modules/user/src/32b/user.c"
"C:/ti/motorware/motorware_1_01_00_17/sw/modules/user/src/32b/user.c", line 42: fatal error #1965: cannot open source file "user.h"
1 catastrophic error detected in the compilation of "C:/ti/motorware/motorware_1_01_00_17/sw/modules/user/src/32b/user.c".
Compilation terminated.

>> Compilation failure
gmake: *** [user.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Eric Ma:

user.h的头文件包含路径没设好。

导入工程,建议先不要选择copy to workspace.

Eric

赞(0)
未经允许不得转载:TI中文支持网 » CCS6 导入 proj_la05d 报错 该如何修改
分享到: 更多 (0)