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

编译28069的程序,程序是别人给的,自认为改好了所有的路径配置,现在却对ti提供的库函数报错,不知何解

**** Build of configuration F2806x_RAM for project PMSM_Servo_Motor ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building file: ../DLOG4CHC.asm'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="DLOG4CHC.d"  "../DLOG4CHC.asm"
'Finished building: ../DLOG4CHC.asm'
' '
'Building file: D:/controlSUITE/device_support/f2806x/v100/F2806x_common/source/F2806x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="F2806x_CodeStartBranch.d"  "D:/controlSUITE/device_support/f2806x/v100/F2806x_common/source/F2806x_CodeStartBranch.asm"
'Finished building: D:/controlSUITE/device_support/f2806x/v100/F2806x_common/source/F2806x_CodeStartBranch.asm'
' '
'Building file: ../F2806x_CpuTimers.c'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="F2806x_CpuTimers.d"  "../F2806x_CpuTimers.c"
"../F2806x_CpuTimers.c", line 80: warning: variable "PeriodInClocks" was declared but never referenced
'Finished building: ../F2806x_CpuTimers.c'
' '
'Building file: D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/source/F2806x_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="F2806x_GlobalVariableDefs.d"  "D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/source/F2806x_GlobalVariableDefs.c"
'Finished building: D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/source/F2806x_GlobalVariableDefs.c'
' '
'Building file: D:/controlSUITE/device_support/f2806x/v100/F2806x_common/source/F2806x_usDelay.asm'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="F2806x_usDelay.d"  "D:/controlSUITE/device_support/f2806x/v100/F2806x_common/source/F2806x_usDelay.asm"
'Finished building: D:/controlSUITE/device_support/f2806x/v100/F2806x_common/source/F2806x_usDelay.asm'
' '
'Building file: ../Motor_control.c'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="Motor_control.d"  "../Motor_control.c"
>> Compilation failure
subdir_rules.mk:42: recipe for target 'Motor_control.obj' failed
"D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include/IQmathLib.h", line 3562: error: expected a ")"
1 error detected in the compilation of "../Motor_control.c".
gmake: *** [Motor_control.obj] Error 1
'Building file: ../PM_Sensorless-DevInit_F2806x.c'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="PM_Sensorless-DevInit_F2806x.d"  "../PM_Sensorless-DevInit_F2806x.c"
'Finished building: ../PM_Sensorless-DevInit_F2806x.c'
' '
'Building file: ../PM_Sensorless.c'
'Invoking: C2000 Compiler'
"D:/ti-cgt-c2000_17.3.0.STS/bin/cl2000" -v28 -ml –cla_support=cla0 –float_support=fpu32 –vcu_support=vcu0 –include_path="C:/Users/YAOYU/OneDrive/DSP code/source code for 28069" –include_path="D:/controlSUITE/development_kits/~SupportFiles/F2806x_headers" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_headers/include" –include_path="D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include" –include_path="D:/ti-cgt-c2000_17.3.0.STS/include" –define="_DEBUG" –define="LARGE_MODEL" –define="FLOATING_MATH" -g –diag_warning=225 –quiet –preproc_with_compile –preproc_dependency="PM_Sensorless.d"  "../PM_Sensorless.c"
>> Compilation failure
subdir_rules.mk:56: recipe for target 'PM_Sensorless.obj' failed
"D:/controlSUITE/device_support/f2806x/v100/F2806x_common/include/IQmathLib.h", line 3562: error: expected a ")"
"../PM_Sensorless.c", line 113: warning: function "GetCPUTimer0Counter" declared implicitly
"../PM_Sensorless.c", line 115: warning: function "Measure" declared implicitly
"../PM_Sensorless.c", line 118: warning: function "Motor_control" declared implicitly
"../PM_Sensorless.c", line 120: warning: function "Motor_init" declared implicitly
1 error detected in the compilation of "../PM_Sensorless.c".
gmake: *** [PM_Sensorless.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****

Susan Yang:line 3562: error: expected a ")"

另外您自己的CCS版本和别人程序的CCS版本是多少?

相关链接:

e2e.ti.com/…/734392

赞(0)
未经允许不得转载:TI中文支持网 » 编译28069的程序,程序是别人给的,自认为改好了所有的路径配置,现在却对ti提供的库函数报错,不知何解
分享到: 更多 (0)