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

ccs工程用命令行形式编译问题

需求:

1、因为需要做自动化编译代码的缘故,持续集成每天需要使用脚本编译。

2、工程师使用的ccs版本不一致,使用ccs5(ccs6、ccs7)的工程师构建了代码工程,他们的代码上传到SVN服务器。

3、集成服务器上安装的是ccs8环境,检出代码后在服务器上执行脚本通过命令行编译方式对代码工程进行编译。

问题:

1、集成服务器检出ccs5工程代码后,直接调用脚本通过命令行编译不通过。

2、集成服务器检出ccs5工程代码后,用ccs8(IDE)打开ccs5构建的工程后,再调用脚本通过命令行编译通过。

3、如何解决在只安装有ccs8的环境中对低版本(ccs5、ccs6、ccs7)ccs构建的代码工程进行脚本命令行形式编译?

编译结果:

DEL /F "EWP50_24V_28054V1.1.1_0524_K9_20170804_release.out"
DEL /F "Sources\Vds\Program.pp" "Sources\Vds\VdsGlbVar.pp" "Sources\Vds\VdsResponse.pp" "Sources\TI_Source\F2805x_GlobalVariableDefs.pp" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.pp" "Sources\Protect\Flash_API.pp" "Sources\Protect\IdcbusProtection.pp" "Sources\Protect\Watchdog.pp" "Sources\MotorCtrl\HVPM_Sensorless.pp" "Sources\Communication\DRV8301_SPI.pp" "Sources\Communication\F2805x_Adc.pp" "Sources\Communication\eCanRec.pp" "Sources\Communication\eCanSend.pp" "Sources\Communication\eCanSet.pp"DEL /F "Sources\Vds\Program.obj" "Sources\Vds\VdsGlbVar.obj" "Sources\Vds\VdsResponse.obj" "Sources\TI_Source\DLOG4CHC.obj" "Sources\TI_Source\F2805x_CodeStartBranch.obj" "Sources\TI_Source\F2805x_GlobalVariableDefs.obj" "Sources\TI_Source\F2805x_usDelay.obj" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.obj" "Sources\Protect\Flash_API.obj" "Sources\Protect\IdcbusProtection.obj" "Sources\Protect\Watchdog.obj" "Sources\MotorCtrl\HVPM_Sensorless.obj" "Sources\Communication\DRV8301_SPI.obj" "Sources\Communication\F2805x_Adc.obj" "Sources\Communication\eCanRec.obj" "Sources\Communication\eCanSend.obj" "Sources\Communication\eCanSet.obj"DEL /F "Sources\TI_Source\DLOG4CHC.pp" "Sources\TI_Source\F2805x_CodeStartBranch.pp" "Sources\TI_Source\F2805x_usDelay.pp"找不到 D:\workspace\Jenkins_ccs\move\EWP50_24V_28054V1.1.1_0524_K9_20170804_release\Release\Sources\TI_Source\DLOG4CHC.pp
'Finished clean'
' '
'Building file: ../Sources/Vds/Program.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/Program.pp" –obj_directory="Sources/Vds" "../Sources/Vds/Program.c"
"../Sources/Vds/Program.c", line 21: fatal error #1965: cannot open source file "Flash2805x_API_Config.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/Program.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:7: recipe for target 'Sources/Vds/Program.obj' failed
gmake: *** [Sources/Vds/Program.obj] Error 1
'Building file: ../Sources/Vds/VdsGlbVar.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsGlbVar.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsGlbVar.c"
'Finished building: ../Sources/Vds/VdsGlbVar.c'
' '
'Building file: ../Sources/Vds/VdsResponse.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsResponse.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsResponse.c"
"..\Sources\Vds\CanMessage.h", line 17: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/VdsResponse.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:21: recipe for target 'Sources/Vds/VdsResponse.obj' failed
gmake: *** [Sources/Vds/VdsResponse.obj] Error 1
'Building file: ../Sources/TI_Source/DLOG4CHC.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/DLOG4CHC.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/DLOG4CHC.asm"
'Finished building: ../Sources/TI_Source/DLOG4CHC.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_CodeStartBranch.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_CodeStartBranch.asm"
'Finished building: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_GlobalVariableDefs.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_GlobalVariableDefs.c"
"../Sources/TI_Source/F2805x_GlobalVariableDefs.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/F2805x_GlobalVariableDefs.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:21: recipe for target 'Sources/TI_Source/F2805x_GlobalVariableDefs.obj' failed
gmake: *** [Sources/TI_Source/F2805x_GlobalVariableDefs.obj] Error 1
'Building file: ../Sources/TI_Source/F2805x_usDelay.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_usDelay.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_usDelay.asm"
'Finished building: ../Sources/TI_Source/F2805x_usDelay.asm'
' '
'Building file: ../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c"
"../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c", line 15: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:35: recipe for target 'Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj' failed
gmake: *** [Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj] Error 1
'Building file: ../Sources/Protect/Flash_API.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Flash_API.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Flash_API.c"
"../Sources/Protect/Flash_API.c", line 17: fatal error #1965: cannot open source file "Flash2805x_API_Library.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Flash_API.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:7: recipe for target 'Sources/Protect/Flash_API.obj' failed
gmake: *** [Sources/Protect/Flash_API.obj] Error 1
'Building file: ../Sources/Protect/IdcbusProtection.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/IdcbusProtection.pp" –obj_directory="Sources/Protect" "../Sources/Protect/IdcbusProtection.c"
"../Sources/Protect/IdcbusProtection.c", line 20: fatal error #1965: cannot open source file "IdcbusProtection.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/IdcbusProtection.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:14: recipe for target 'Sources/Protect/IdcbusProtection.obj' failed
gmake: *** [Sources/Protect/IdcbusProtection.obj] Error 1
'Building file: ../Sources/Protect/Watchdog.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Watchdog.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Watchdog.c"
"../Sources/Protect/Watchdog.c", line 21: fatal error #1965: cannot open source file "PeripheralHeaderIncludes.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Watchdog.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:21: recipe for target 'Sources/Protect/Watchdog.obj' failed
gmake: *** [Sources/Protect/Watchdog.obj] Error 1
'Building file: ../Sources/MotorCtrl/HVPM_Sensorless.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/MotorCtrl/HVPM_Sensorless.pp" –obj_directory="Sources/MotorCtrl" "../Sources/MotorCtrl/HVPM_Sensorless.c"
"../Sources/MotorCtrl/HVPM_Sensorless.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/MotorCtrl/HVPM_Sensorless.c".
Compilation terminated.

>> Compilation failure
Sources/MotorCtrl/subdir_rules.mk:7: recipe for target 'Sources/MotorCtrl/HVPM_Sensorless.obj' failed
gmake: *** [Sources/MotorCtrl/HVPM_Sensorless.obj] Error 1
'Building file: ../Sources/Communication/DRV8301_SPI.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/DRV8301_SPI.pp" –obj_directory="Sources/Communication" "../Sources/Communication/DRV8301_SPI.c"
"../Sources/Communication/DRV8301_SPI.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/DRV8301_SPI.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:7: recipe for target 'Sources/Communication/DRV8301_SPI.obj' failed
gmake: *** [Sources/Communication/DRV8301_SPI.obj] Error 1
'Building file: ../Sources/Communication/F2805x_Adc.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/F2805x_Adc.pp" –obj_directory="Sources/Communication" "../Sources/Communication/F2805x_Adc.c"
"../Sources/Communication/F2805x_Adc.c", line 19: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/F2805x_Adc.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:14: recipe for target 'Sources/Communication/F2805x_Adc.obj' failed
gmake: *** [Sources/Communication/F2805x_Adc.obj] Error 1
'Building file: ../Sources/Communication/eCanRec.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanRec.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanRec.c"
"../Sources/Communication/eCanRec.c", line 18: fatal error #1965: cannot open source file "eCanRec.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanRec.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:21: recipe for target 'Sources/Communication/eCanRec.obj' failed
gmake: *** [Sources/Communication/eCanRec.obj] Error 1
'Building file: ../Sources/Communication/eCanSend.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSend.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSend.c"
"../Sources/Communication/eCanSend.c", line 19: fatal error #1965: cannot open source file "eCanSend.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSend.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:28: recipe for target 'Sources/Communication/eCanSend.obj' failed
gmake: *** [Sources/Communication/eCanSend.obj] Error 1
'Building file: ../Sources/Communication/eCanSet.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSet.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSet.c"
"../Sources/Communication/eCanSet.c", line 19: fatal error #1965: cannot open source file "eCanSet.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSet.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:35: recipe for target 'Sources/Communication/eCanSet.obj' failed
gmake: *** [Sources/Communication/eCanSet.obj] Error 1
gmake: Target 'all' not remade because of errors.

Susan Yang:

没有这样操作过,不太了解。但看您的错误

fatal error #1965: cannot open source file

一般都是包含路径错误造成的,如下图,不要在preinclude内填写路径,应该写在下面

需求:

1、因为需要做自动化编译代码的缘故,持续集成每天需要使用脚本编译。

2、工程师使用的ccs版本不一致,使用ccs5(ccs6、ccs7)的工程师构建了代码工程,他们的代码上传到SVN服务器。

3、集成服务器上安装的是ccs8环境,检出代码后在服务器上执行脚本通过命令行编译方式对代码工程进行编译。

问题:

1、集成服务器检出ccs5工程代码后,直接调用脚本通过命令行编译不通过。

2、集成服务器检出ccs5工程代码后,用ccs8(IDE)打开ccs5构建的工程后,再调用脚本通过命令行编译通过。

3、如何解决在只安装有ccs8的环境中对低版本(ccs5、ccs6、ccs7)ccs构建的代码工程进行脚本命令行形式编译?

编译结果:

DEL /F "EWP50_24V_28054V1.1.1_0524_K9_20170804_release.out"
DEL /F "Sources\Vds\Program.pp" "Sources\Vds\VdsGlbVar.pp" "Sources\Vds\VdsResponse.pp" "Sources\TI_Source\F2805x_GlobalVariableDefs.pp" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.pp" "Sources\Protect\Flash_API.pp" "Sources\Protect\IdcbusProtection.pp" "Sources\Protect\Watchdog.pp" "Sources\MotorCtrl\HVPM_Sensorless.pp" "Sources\Communication\DRV8301_SPI.pp" "Sources\Communication\F2805x_Adc.pp" "Sources\Communication\eCanRec.pp" "Sources\Communication\eCanSend.pp" "Sources\Communication\eCanSet.pp"DEL /F "Sources\Vds\Program.obj" "Sources\Vds\VdsGlbVar.obj" "Sources\Vds\VdsResponse.obj" "Sources\TI_Source\DLOG4CHC.obj" "Sources\TI_Source\F2805x_CodeStartBranch.obj" "Sources\TI_Source\F2805x_GlobalVariableDefs.obj" "Sources\TI_Source\F2805x_usDelay.obj" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.obj" "Sources\Protect\Flash_API.obj" "Sources\Protect\IdcbusProtection.obj" "Sources\Protect\Watchdog.obj" "Sources\MotorCtrl\HVPM_Sensorless.obj" "Sources\Communication\DRV8301_SPI.obj" "Sources\Communication\F2805x_Adc.obj" "Sources\Communication\eCanRec.obj" "Sources\Communication\eCanSend.obj" "Sources\Communication\eCanSet.obj"DEL /F "Sources\TI_Source\DLOG4CHC.pp" "Sources\TI_Source\F2805x_CodeStartBranch.pp" "Sources\TI_Source\F2805x_usDelay.pp"找不到 D:\workspace\Jenkins_ccs\move\EWP50_24V_28054V1.1.1_0524_K9_20170804_release\Release\Sources\TI_Source\DLOG4CHC.pp
'Finished clean'
' '
'Building file: ../Sources/Vds/Program.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/Program.pp" –obj_directory="Sources/Vds" "../Sources/Vds/Program.c"
"../Sources/Vds/Program.c", line 21: fatal error #1965: cannot open source file "Flash2805x_API_Config.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/Program.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:7: recipe for target 'Sources/Vds/Program.obj' failed
gmake: *** [Sources/Vds/Program.obj] Error 1
'Building file: ../Sources/Vds/VdsGlbVar.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsGlbVar.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsGlbVar.c"
'Finished building: ../Sources/Vds/VdsGlbVar.c'
' '
'Building file: ../Sources/Vds/VdsResponse.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsResponse.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsResponse.c"
"..\Sources\Vds\CanMessage.h", line 17: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/VdsResponse.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:21: recipe for target 'Sources/Vds/VdsResponse.obj' failed
gmake: *** [Sources/Vds/VdsResponse.obj] Error 1
'Building file: ../Sources/TI_Source/DLOG4CHC.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/DLOG4CHC.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/DLOG4CHC.asm"
'Finished building: ../Sources/TI_Source/DLOG4CHC.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_CodeStartBranch.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_CodeStartBranch.asm"
'Finished building: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_GlobalVariableDefs.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_GlobalVariableDefs.c"
"../Sources/TI_Source/F2805x_GlobalVariableDefs.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/F2805x_GlobalVariableDefs.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:21: recipe for target 'Sources/TI_Source/F2805x_GlobalVariableDefs.obj' failed
gmake: *** [Sources/TI_Source/F2805x_GlobalVariableDefs.obj] Error 1
'Building file: ../Sources/TI_Source/F2805x_usDelay.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_usDelay.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_usDelay.asm"
'Finished building: ../Sources/TI_Source/F2805x_usDelay.asm'
' '
'Building file: ../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c"
"../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c", line 15: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:35: recipe for target 'Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj' failed
gmake: *** [Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj] Error 1
'Building file: ../Sources/Protect/Flash_API.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Flash_API.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Flash_API.c"
"../Sources/Protect/Flash_API.c", line 17: fatal error #1965: cannot open source file "Flash2805x_API_Library.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Flash_API.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:7: recipe for target 'Sources/Protect/Flash_API.obj' failed
gmake: *** [Sources/Protect/Flash_API.obj] Error 1
'Building file: ../Sources/Protect/IdcbusProtection.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/IdcbusProtection.pp" –obj_directory="Sources/Protect" "../Sources/Protect/IdcbusProtection.c"
"../Sources/Protect/IdcbusProtection.c", line 20: fatal error #1965: cannot open source file "IdcbusProtection.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/IdcbusProtection.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:14: recipe for target 'Sources/Protect/IdcbusProtection.obj' failed
gmake: *** [Sources/Protect/IdcbusProtection.obj] Error 1
'Building file: ../Sources/Protect/Watchdog.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Watchdog.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Watchdog.c"
"../Sources/Protect/Watchdog.c", line 21: fatal error #1965: cannot open source file "PeripheralHeaderIncludes.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Watchdog.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:21: recipe for target 'Sources/Protect/Watchdog.obj' failed
gmake: *** [Sources/Protect/Watchdog.obj] Error 1
'Building file: ../Sources/MotorCtrl/HVPM_Sensorless.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/MotorCtrl/HVPM_Sensorless.pp" –obj_directory="Sources/MotorCtrl" "../Sources/MotorCtrl/HVPM_Sensorless.c"
"../Sources/MotorCtrl/HVPM_Sensorless.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/MotorCtrl/HVPM_Sensorless.c".
Compilation terminated.

>> Compilation failure
Sources/MotorCtrl/subdir_rules.mk:7: recipe for target 'Sources/MotorCtrl/HVPM_Sensorless.obj' failed
gmake: *** [Sources/MotorCtrl/HVPM_Sensorless.obj] Error 1
'Building file: ../Sources/Communication/DRV8301_SPI.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/DRV8301_SPI.pp" –obj_directory="Sources/Communication" "../Sources/Communication/DRV8301_SPI.c"
"../Sources/Communication/DRV8301_SPI.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/DRV8301_SPI.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:7: recipe for target 'Sources/Communication/DRV8301_SPI.obj' failed
gmake: *** [Sources/Communication/DRV8301_SPI.obj] Error 1
'Building file: ../Sources/Communication/F2805x_Adc.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/F2805x_Adc.pp" –obj_directory="Sources/Communication" "../Sources/Communication/F2805x_Adc.c"
"../Sources/Communication/F2805x_Adc.c", line 19: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/F2805x_Adc.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:14: recipe for target 'Sources/Communication/F2805x_Adc.obj' failed
gmake: *** [Sources/Communication/F2805x_Adc.obj] Error 1
'Building file: ../Sources/Communication/eCanRec.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanRec.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanRec.c"
"../Sources/Communication/eCanRec.c", line 18: fatal error #1965: cannot open source file "eCanRec.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanRec.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:21: recipe for target 'Sources/Communication/eCanRec.obj' failed
gmake: *** [Sources/Communication/eCanRec.obj] Error 1
'Building file: ../Sources/Communication/eCanSend.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSend.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSend.c"
"../Sources/Communication/eCanSend.c", line 19: fatal error #1965: cannot open source file "eCanSend.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSend.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:28: recipe for target 'Sources/Communication/eCanSend.obj' failed
gmake: *** [Sources/Communication/eCanSend.obj] Error 1
'Building file: ../Sources/Communication/eCanSet.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSet.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSet.c"
"../Sources/Communication/eCanSet.c", line 19: fatal error #1965: cannot open source file "eCanSet.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSet.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:35: recipe for target 'Sources/Communication/eCanSet.obj' failed
gmake: *** [Sources/Communication/eCanSet.obj] Error 1
gmake: Target 'all' not remade because of errors.

Xiao Dong:一个公司内部,应该先统一CCS和cgt编译器版本。

需求:

1、因为需要做自动化编译代码的缘故,持续集成每天需要使用脚本编译。

2、工程师使用的ccs版本不一致,使用ccs5(ccs6、ccs7)的工程师构建了代码工程,他们的代码上传到SVN服务器。

3、集成服务器上安装的是ccs8环境,检出代码后在服务器上执行脚本通过命令行编译方式对代码工程进行编译。

问题:

1、集成服务器检出ccs5工程代码后,直接调用脚本通过命令行编译不通过。

2、集成服务器检出ccs5工程代码后,用ccs8(IDE)打开ccs5构建的工程后,再调用脚本通过命令行编译通过。

3、如何解决在只安装有ccs8的环境中对低版本(ccs5、ccs6、ccs7)ccs构建的代码工程进行脚本命令行形式编译?

编译结果:

DEL /F "EWP50_24V_28054V1.1.1_0524_K9_20170804_release.out"
DEL /F "Sources\Vds\Program.pp" "Sources\Vds\VdsGlbVar.pp" "Sources\Vds\VdsResponse.pp" "Sources\TI_Source\F2805x_GlobalVariableDefs.pp" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.pp" "Sources\Protect\Flash_API.pp" "Sources\Protect\IdcbusProtection.pp" "Sources\Protect\Watchdog.pp" "Sources\MotorCtrl\HVPM_Sensorless.pp" "Sources\Communication\DRV8301_SPI.pp" "Sources\Communication\F2805x_Adc.pp" "Sources\Communication\eCanRec.pp" "Sources\Communication\eCanSend.pp" "Sources\Communication\eCanSet.pp"DEL /F "Sources\Vds\Program.obj" "Sources\Vds\VdsGlbVar.obj" "Sources\Vds\VdsResponse.obj" "Sources\TI_Source\DLOG4CHC.obj" "Sources\TI_Source\F2805x_CodeStartBranch.obj" "Sources\TI_Source\F2805x_GlobalVariableDefs.obj" "Sources\TI_Source\F2805x_usDelay.obj" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.obj" "Sources\Protect\Flash_API.obj" "Sources\Protect\IdcbusProtection.obj" "Sources\Protect\Watchdog.obj" "Sources\MotorCtrl\HVPM_Sensorless.obj" "Sources\Communication\DRV8301_SPI.obj" "Sources\Communication\F2805x_Adc.obj" "Sources\Communication\eCanRec.obj" "Sources\Communication\eCanSend.obj" "Sources\Communication\eCanSet.obj"DEL /F "Sources\TI_Source\DLOG4CHC.pp" "Sources\TI_Source\F2805x_CodeStartBranch.pp" "Sources\TI_Source\F2805x_usDelay.pp"找不到 D:\workspace\Jenkins_ccs\move\EWP50_24V_28054V1.1.1_0524_K9_20170804_release\Release\Sources\TI_Source\DLOG4CHC.pp
'Finished clean'
' '
'Building file: ../Sources/Vds/Program.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/Program.pp" –obj_directory="Sources/Vds" "../Sources/Vds/Program.c"
"../Sources/Vds/Program.c", line 21: fatal error #1965: cannot open source file "Flash2805x_API_Config.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/Program.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:7: recipe for target 'Sources/Vds/Program.obj' failed
gmake: *** [Sources/Vds/Program.obj] Error 1
'Building file: ../Sources/Vds/VdsGlbVar.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsGlbVar.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsGlbVar.c"
'Finished building: ../Sources/Vds/VdsGlbVar.c'
' '
'Building file: ../Sources/Vds/VdsResponse.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsResponse.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsResponse.c"
"..\Sources\Vds\CanMessage.h", line 17: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/VdsResponse.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:21: recipe for target 'Sources/Vds/VdsResponse.obj' failed
gmake: *** [Sources/Vds/VdsResponse.obj] Error 1
'Building file: ../Sources/TI_Source/DLOG4CHC.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/DLOG4CHC.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/DLOG4CHC.asm"
'Finished building: ../Sources/TI_Source/DLOG4CHC.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_CodeStartBranch.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_CodeStartBranch.asm"
'Finished building: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_GlobalVariableDefs.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_GlobalVariableDefs.c"
"../Sources/TI_Source/F2805x_GlobalVariableDefs.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/F2805x_GlobalVariableDefs.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:21: recipe for target 'Sources/TI_Source/F2805x_GlobalVariableDefs.obj' failed
gmake: *** [Sources/TI_Source/F2805x_GlobalVariableDefs.obj] Error 1
'Building file: ../Sources/TI_Source/F2805x_usDelay.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_usDelay.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_usDelay.asm"
'Finished building: ../Sources/TI_Source/F2805x_usDelay.asm'
' '
'Building file: ../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c"
"../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c", line 15: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:35: recipe for target 'Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj' failed
gmake: *** [Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj] Error 1
'Building file: ../Sources/Protect/Flash_API.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Flash_API.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Flash_API.c"
"../Sources/Protect/Flash_API.c", line 17: fatal error #1965: cannot open source file "Flash2805x_API_Library.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Flash_API.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:7: recipe for target 'Sources/Protect/Flash_API.obj' failed
gmake: *** [Sources/Protect/Flash_API.obj] Error 1
'Building file: ../Sources/Protect/IdcbusProtection.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/IdcbusProtection.pp" –obj_directory="Sources/Protect" "../Sources/Protect/IdcbusProtection.c"
"../Sources/Protect/IdcbusProtection.c", line 20: fatal error #1965: cannot open source file "IdcbusProtection.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/IdcbusProtection.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:14: recipe for target 'Sources/Protect/IdcbusProtection.obj' failed
gmake: *** [Sources/Protect/IdcbusProtection.obj] Error 1
'Building file: ../Sources/Protect/Watchdog.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Watchdog.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Watchdog.c"
"../Sources/Protect/Watchdog.c", line 21: fatal error #1965: cannot open source file "PeripheralHeaderIncludes.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Watchdog.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:21: recipe for target 'Sources/Protect/Watchdog.obj' failed
gmake: *** [Sources/Protect/Watchdog.obj] Error 1
'Building file: ../Sources/MotorCtrl/HVPM_Sensorless.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/MotorCtrl/HVPM_Sensorless.pp" –obj_directory="Sources/MotorCtrl" "../Sources/MotorCtrl/HVPM_Sensorless.c"
"../Sources/MotorCtrl/HVPM_Sensorless.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/MotorCtrl/HVPM_Sensorless.c".
Compilation terminated.

>> Compilation failure
Sources/MotorCtrl/subdir_rules.mk:7: recipe for target 'Sources/MotorCtrl/HVPM_Sensorless.obj' failed
gmake: *** [Sources/MotorCtrl/HVPM_Sensorless.obj] Error 1
'Building file: ../Sources/Communication/DRV8301_SPI.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/DRV8301_SPI.pp" –obj_directory="Sources/Communication" "../Sources/Communication/DRV8301_SPI.c"
"../Sources/Communication/DRV8301_SPI.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/DRV8301_SPI.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:7: recipe for target 'Sources/Communication/DRV8301_SPI.obj' failed
gmake: *** [Sources/Communication/DRV8301_SPI.obj] Error 1
'Building file: ../Sources/Communication/F2805x_Adc.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/F2805x_Adc.pp" –obj_directory="Sources/Communication" "../Sources/Communication/F2805x_Adc.c"
"../Sources/Communication/F2805x_Adc.c", line 19: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/F2805x_Adc.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:14: recipe for target 'Sources/Communication/F2805x_Adc.obj' failed
gmake: *** [Sources/Communication/F2805x_Adc.obj] Error 1
'Building file: ../Sources/Communication/eCanRec.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanRec.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanRec.c"
"../Sources/Communication/eCanRec.c", line 18: fatal error #1965: cannot open source file "eCanRec.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanRec.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:21: recipe for target 'Sources/Communication/eCanRec.obj' failed
gmake: *** [Sources/Communication/eCanRec.obj] Error 1
'Building file: ../Sources/Communication/eCanSend.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSend.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSend.c"
"../Sources/Communication/eCanSend.c", line 19: fatal error #1965: cannot open source file "eCanSend.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSend.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:28: recipe for target 'Sources/Communication/eCanSend.obj' failed
gmake: *** [Sources/Communication/eCanSend.obj] Error 1
'Building file: ../Sources/Communication/eCanSet.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSet.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSet.c"
"../Sources/Communication/eCanSet.c", line 19: fatal error #1965: cannot open source file "eCanSet.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSet.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:35: recipe for target 'Sources/Communication/eCanSet.obj' failed
gmake: *** [Sources/Communication/eCanSet.obj] Error 1
gmake: Target 'all' not remade because of errors.

mangui zhang:是不是设置一些配置文件因版本不同相关属性也不同
目前未使用到脚本你看看基于matlab有没有好的解决方法

需求:

1、因为需要做自动化编译代码的缘故,持续集成每天需要使用脚本编译。

2、工程师使用的ccs版本不一致,使用ccs5(ccs6、ccs7)的工程师构建了代码工程,他们的代码上传到SVN服务器。

3、集成服务器上安装的是ccs8环境,检出代码后在服务器上执行脚本通过命令行编译方式对代码工程进行编译。

问题:

1、集成服务器检出ccs5工程代码后,直接调用脚本通过命令行编译不通过。

2、集成服务器检出ccs5工程代码后,用ccs8(IDE)打开ccs5构建的工程后,再调用脚本通过命令行编译通过。

3、如何解决在只安装有ccs8的环境中对低版本(ccs5、ccs6、ccs7)ccs构建的代码工程进行脚本命令行形式编译?

编译结果:

DEL /F "EWP50_24V_28054V1.1.1_0524_K9_20170804_release.out"
DEL /F "Sources\Vds\Program.pp" "Sources\Vds\VdsGlbVar.pp" "Sources\Vds\VdsResponse.pp" "Sources\TI_Source\F2805x_GlobalVariableDefs.pp" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.pp" "Sources\Protect\Flash_API.pp" "Sources\Protect\IdcbusProtection.pp" "Sources\Protect\Watchdog.pp" "Sources\MotorCtrl\HVPM_Sensorless.pp" "Sources\Communication\DRV8301_SPI.pp" "Sources\Communication\F2805x_Adc.pp" "Sources\Communication\eCanRec.pp" "Sources\Communication\eCanSend.pp" "Sources\Communication\eCanSet.pp"DEL /F "Sources\Vds\Program.obj" "Sources\Vds\VdsGlbVar.obj" "Sources\Vds\VdsResponse.obj" "Sources\TI_Source\DLOG4CHC.obj" "Sources\TI_Source\F2805x_CodeStartBranch.obj" "Sources\TI_Source\F2805x_GlobalVariableDefs.obj" "Sources\TI_Source\F2805x_usDelay.obj" "Sources\TI_Source\HVPM_Sensorless-DevInit_F2805x.obj" "Sources\Protect\Flash_API.obj" "Sources\Protect\IdcbusProtection.obj" "Sources\Protect\Watchdog.obj" "Sources\MotorCtrl\HVPM_Sensorless.obj" "Sources\Communication\DRV8301_SPI.obj" "Sources\Communication\F2805x_Adc.obj" "Sources\Communication\eCanRec.obj" "Sources\Communication\eCanSend.obj" "Sources\Communication\eCanSet.obj"DEL /F "Sources\TI_Source\DLOG4CHC.pp" "Sources\TI_Source\F2805x_CodeStartBranch.pp" "Sources\TI_Source\F2805x_usDelay.pp"找不到 D:\workspace\Jenkins_ccs\move\EWP50_24V_28054V1.1.1_0524_K9_20170804_release\Release\Sources\TI_Source\DLOG4CHC.pp
'Finished clean'
' '
'Building file: ../Sources/Vds/Program.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/Program.pp" –obj_directory="Sources/Vds" "../Sources/Vds/Program.c"
"../Sources/Vds/Program.c", line 21: fatal error #1965: cannot open source file "Flash2805x_API_Config.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/Program.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:7: recipe for target 'Sources/Vds/Program.obj' failed
gmake: *** [Sources/Vds/Program.obj] Error 1
'Building file: ../Sources/Vds/VdsGlbVar.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsGlbVar.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsGlbVar.c"
'Finished building: ../Sources/Vds/VdsGlbVar.c'
' '
'Building file: ../Sources/Vds/VdsResponse.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Vds/VdsResponse.pp" –obj_directory="Sources/Vds" "../Sources/Vds/VdsResponse.c"
"..\Sources\Vds\CanMessage.h", line 17: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Vds/VdsResponse.c".
Compilation terminated.

>> Compilation failure
Sources/Vds/subdir_rules.mk:21: recipe for target 'Sources/Vds/VdsResponse.obj' failed
gmake: *** [Sources/Vds/VdsResponse.obj] Error 1
'Building file: ../Sources/TI_Source/DLOG4CHC.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/DLOG4CHC.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/DLOG4CHC.asm"
'Finished building: ../Sources/TI_Source/DLOG4CHC.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_CodeStartBranch.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_CodeStartBranch.asm"
'Finished building: ../Sources/TI_Source/F2805x_CodeStartBranch.asm'
' '
'Building file: ../Sources/TI_Source/F2805x_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_GlobalVariableDefs.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_GlobalVariableDefs.c"
"../Sources/TI_Source/F2805x_GlobalVariableDefs.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/F2805x_GlobalVariableDefs.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:21: recipe for target 'Sources/TI_Source/F2805x_GlobalVariableDefs.obj' failed
gmake: *** [Sources/TI_Source/F2805x_GlobalVariableDefs.obj] Error 1
'Building file: ../Sources/TI_Source/F2805x_usDelay.asm'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/F2805x_usDelay.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/F2805x_usDelay.asm"
'Finished building: ../Sources/TI_Source/F2805x_usDelay.asm'
' '
'Building file: ../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.pp" –obj_directory="Sources/TI_Source" "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c"
"../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c", line 15: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.c".
Compilation terminated.

>> Compilation failure
Sources/TI_Source/subdir_rules.mk:35: recipe for target 'Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj' failed
gmake: *** [Sources/TI_Source/HVPM_Sensorless-DevInit_F2805x.obj] Error 1
'Building file: ../Sources/Protect/Flash_API.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Flash_API.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Flash_API.c"
"../Sources/Protect/Flash_API.c", line 17: fatal error #1965: cannot open source file "Flash2805x_API_Library.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Flash_API.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:7: recipe for target 'Sources/Protect/Flash_API.obj' failed
gmake: *** [Sources/Protect/Flash_API.obj] Error 1
'Building file: ../Sources/Protect/IdcbusProtection.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/IdcbusProtection.pp" –obj_directory="Sources/Protect" "../Sources/Protect/IdcbusProtection.c"
"../Sources/Protect/IdcbusProtection.c", line 20: fatal error #1965: cannot open source file "IdcbusProtection.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/IdcbusProtection.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:14: recipe for target 'Sources/Protect/IdcbusProtection.obj' failed
gmake: *** [Sources/Protect/IdcbusProtection.obj] Error 1
'Building file: ../Sources/Protect/Watchdog.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Protect/Watchdog.pp" –obj_directory="Sources/Protect" "../Sources/Protect/Watchdog.c"
"../Sources/Protect/Watchdog.c", line 21: fatal error #1965: cannot open source file "PeripheralHeaderIncludes.h"
1 catastrophic error detected in the compilation of "../Sources/Protect/Watchdog.c".
Compilation terminated.

>> Compilation failure
Sources/Protect/subdir_rules.mk:21: recipe for target 'Sources/Protect/Watchdog.obj' failed
gmake: *** [Sources/Protect/Watchdog.obj] Error 1
'Building file: ../Sources/MotorCtrl/HVPM_Sensorless.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/MotorCtrl/HVPM_Sensorless.pp" –obj_directory="Sources/MotorCtrl" "../Sources/MotorCtrl/HVPM_Sensorless.c"
"../Sources/MotorCtrl/HVPM_Sensorless.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/MotorCtrl/HVPM_Sensorless.c".
Compilation terminated.

>> Compilation failure
Sources/MotorCtrl/subdir_rules.mk:7: recipe for target 'Sources/MotorCtrl/HVPM_Sensorless.obj' failed
gmake: *** [Sources/MotorCtrl/HVPM_Sensorless.obj] Error 1
'Building file: ../Sources/Communication/DRV8301_SPI.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/DRV8301_SPI.pp" –obj_directory="Sources/Communication" "../Sources/Communication/DRV8301_SPI.c"
"../Sources/Communication/DRV8301_SPI.c", line 14: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/DRV8301_SPI.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:7: recipe for target 'Sources/Communication/DRV8301_SPI.obj' failed
gmake: *** [Sources/Communication/DRV8301_SPI.obj] Error 1
'Building file: ../Sources/Communication/F2805x_Adc.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/F2805x_Adc.pp" –obj_directory="Sources/Communication" "../Sources/Communication/F2805x_Adc.c"
"../Sources/Communication/F2805x_Adc.c", line 19: fatal error #1965: cannot open source file "F2805x_Device.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/F2805x_Adc.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:14: recipe for target 'Sources/Communication/F2805x_Adc.obj' failed
gmake: *** [Sources/Communication/F2805x_Adc.obj] Error 1
'Building file: ../Sources/Communication/eCanRec.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanRec.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanRec.c"
"../Sources/Communication/eCanRec.c", line 18: fatal error #1965: cannot open source file "eCanRec.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanRec.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:21: recipe for target 'Sources/Communication/eCanRec.obj' failed
gmake: *** [Sources/Communication/eCanRec.obj] Error 1
'Building file: ../Sources/Communication/eCanSend.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSend.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSend.c"
"../Sources/Communication/eCanSend.c", line 19: fatal error #1965: cannot open source file "eCanSend.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSend.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:28: recipe for target 'Sources/Communication/eCanSend.obj' failed
gmake: *** [Sources/Communication/eCanSend.obj] Error 1
'Building file: ../Sources/Communication/eCanSet.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt -O2 –include_path="D:/ti/ccsv5/tools/compiler/ti-cgt-c2000_6.4.2/include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Sources/Vds" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/App_Include" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Common" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/F2805x_Headers" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/IQmath" –include_path="D:/CCS Workspace/28054 MotorControl 20180123/EWP50_24V_28054V1.1.1_0524_K9_20170804_release/Include/math_blocks" –define=FLASH –define=DRV8301 –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="Sources/Communication/eCanSet.pp" –obj_directory="Sources/Communication" "../Sources/Communication/eCanSet.c"
"../Sources/Communication/eCanSet.c", line 19: fatal error #1965: cannot open source file "eCanSet.h"
1 catastrophic error detected in the compilation of "../Sources/Communication/eCanSet.c".
Compilation terminated.

>> Compilation failure
Sources/Communication/subdir_rules.mk:35: recipe for target 'Sources/Communication/eCanSet.obj' failed
gmake: *** [Sources/Communication/eCanSet.obj] Error 1
gmake: Target 'all' not remade because of errors.

user6006562:

回复 Susan Yang:

谢谢,这个工程并没有在preinclude内填写路径

赞(0)
未经允许不得转载:TI中文支持网 » ccs工程用命令行形式编译问题
分享到: 更多 (0)