This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: C2000Ware_5_01_00_00 官方examples里的FPUfastRTS例程编译出错误

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

导入C:\ti\c2000\C2000Ware_5_01_00_00\libraries\math\FPUfastRTS\c28\examples\atan_f64 项目直接编译报错

CCS版本为:Code Composer Studio Version: 12.5.0.00007

报错信息为:

**** Build of configuration RAM for project atan_f64 ****

"C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k all

Building file: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/fastrts_atan.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu64 --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/f2838x/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include" --advice:performance=all --define=RAM --define=USE_FID=0 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="fastrts_atan.d_raw" --float_support=fpu64 "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/fastrts_atan.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'fastrts_atan.obj' failed
"C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include/fastrts.h", line 259: error #148: declaration is incompatible with "double atan(double)" (declared at line 374 of "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h")
"C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include/fastrts.h", line 281: error #148: declaration is incompatible with "double atan2(double, double)" (declared at line 377 of "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h")
"C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include/fastrts.h", line 302: error #148: declaration is incompatible with "double cos(double)" (declared at line 380 of "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h")
"C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include/fastrts.h", line 376: error #148: declaration is incompatible with "double sin(double)" (declared at line 383 of "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h")
"C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include/fastrts.h", line 403: error #148: declaration is incompatible with "double sqrt(double)" (declared at line 461 of "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h")
5 errors detected in the compilation of "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/fastrts_atan.c".
gmake: *** [fastrts_atan.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_error.asm"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu64 --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/f2838x/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include" --advice:performance=all --define=RAM --define=USE_FID=0 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="fastrts_error.d_raw" --float_support=fpu64 "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_error.asm"
Finished building: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_error.asm"

Building file: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_examples_main.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu64 --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/f2838x/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include" --advice:performance=all --define=RAM --define=USE_FID=0 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="fastrts_examples_main.d_raw" --float_support=fpu64 "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_examples_main.c"
Finished building: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_examples_main.c"

Building file: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_examples_setup.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu64 --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/f2838x/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include" --advice:performance=all --define=RAM --define=USE_FID=0 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="fastrts_examples_setup.d_raw" --float_support=fpu64 "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_examples_setup.c"
Finished building: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/fastrts_examples_setup.c"

Building file: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/golden.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu64 --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/f2838x/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include" --advice:performance=all --define=RAM --define=USE_FID=0 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="golden.d_raw" --float_support=fpu64 "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/golden.c"
Finished building: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/golden.c"

Building file: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/input.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu64 --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/f2838x/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/common/" --include_path="C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/include" --advice:performance=all --define=RAM --define=USE_FID=0 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="input.d_raw" --float_support=fpu64 "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/input.c"
Finished building: "C:/ti/c2000/C2000Ware_5_01_00_00/libraries/math/FPUfastRTS/c28/examples/atan_f64/input.c"

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

请问如何解决?