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.

CCS/IWR1642: Compilation Errors when Building pplcount_16xx_mss

Part Number: IWR1642
Other Parts Discussed in Thread: SYSBIOS, MMWAVE-SDK

Tool/software: Code Composer Studio

Good Afternoon,

pplcount_16xx_dss compiles successfully, but when compiling pplcount_16xx_mss I received the output below. I have also included a picture of my properties for the project.

Output:


**** Clean-only build of configuration Debug for project pplcount_16xx_mss ****

"C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O

DEL /F "xwr16xx_pplcount_mss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr16xx_pplcount_mss.xer4f"
DEL /F "cli.oer4f" "cycle_measure.oer4f" "gtrackAlloc.oer4f" "gtrackLog.oer4f" "mss_main.oer4f" "radarOsal_malloc.oer4f" "task_app.oer4f" "task_mbox.oer4f"
DEL /F "cli.d" "cycle_measure.d" "gtrackAlloc.d" "gtrackLog.d" "mss_main.d" "radarOsal_malloc.d" "task_app.d" "task_mbox.d"
RMDIR /S/Q "configPkg\"
Could Not Find C:\Users\Cameron\workspace_v9\pplcount_16xx_mss\Debug\xwr16xx_pplcount_mss.hex
Could Not Find C:\Users\Cameron\workspace_v9\pplcount_16xx_mss\Debug\xwr16xx_pplcount_mss.xer4f
Finished clean

**** Build Finished ****

**** Build of configuration Debug for project pplcount_16xx_mss ****

"C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

rm -f C:/Users/Cameron/workspace_v9/pplcount_16xx_mss/xwr16xx_pplcount_mss.bin

Building file: "../mss_mmw.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR16XX:false:200 -r release -c "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS" --compileOptions "--enum_type=int " "../mss_mmw.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring mss_mmw.xer4f from package/cfg/mss_mmw_per4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/Cameron/workspace_v9/pplcount_16xx_mss/src/sysbios/sysbios.aer4f ...
gmake[1]: Entering directory `C:/Users/Cameron/workspace_v9/pplcount_16xx_mss/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/Cameron/workspace_v9/pplcount_16xx_mss/src/sysbios'
Build of libraries done.
cler4f package/cfg/mss_mmw_per4f.c ...
"package/cfg/mss_mmw_per4f.c", line 17360: warning: statement is unreachable
"package/cfg/mss_mmw_per4f.c", line 17982: warning: statement is unreachable
"package/cfg/mss_mmw_per4f.c", line 18345: warning: statement is unreachable
"package/cfg/mss_mmw_per4f.c", line 18627: warning: statement is unreachable
"package/cfg/mss_mmw_per4f.c", line 18870: warning: statement is unreachable
Finished building: "../mss_mmw.cfg"

Building file: "../cycle_measure.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="cycle_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../cycle_measure.c"
Finished building: "../cycle_measure.c"

Building file: "../gtrackAlloc.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="gtrackAlloc.d_raw" --cmd_file="configPkg/compiler.opt" "../gtrackAlloc.c"
Finished building: "../gtrackAlloc.c"

Building file: "../gtrackLog.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="gtrackLog.d_raw" --cmd_file="configPkg/compiler.opt" "../gtrackLog.c"
Finished building: "../gtrackLog.c"

Building file: "../mss_main.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="mss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_main.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'mss_main.oer4f' failed
"C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/radarProcess.h", line 58: warning #48-D: incompatible redefinition of macro "M_PI" (declared at line 152 of "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include/math.h")
"../mss_main.c", line 407: warning #169-D: argument of type "int32_t *" is incompatible with parameter of type "rlCalibrationData_t *"
"../mss_main.c", line 407: error #167: too few arguments in function call
1 error detected in the compilation of "../mss_main.c".
gmake[1]: *** [mss_main.oer4f] Error 1
Building file: "../radarOsal_malloc.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="radarOsal_malloc.d_raw" --cmd_file="configPkg/compiler.opt" "../radarOsal_malloc.c"
Finished building: "../radarOsal_malloc.c"

Building file: "../cli.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="cli.d_raw" --cmd_file="configPkg/compiler.opt" "../cli.c"
Finished building: "../cli.c"

Building file: "../task_app.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="task_app.d_raw" --cmd_file="configPkg/compiler.opt" "../task_app.c"
"C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/radarProcess.h", line 58: warning #48-D: incompatible redefinition of macro "M_PI" (declared at line 152 of "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include/math.h")
Finished building: "../task_app.c"

Building file: "../task_mbox.c"
Invoking: ARM Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Cameron/workspace_v9/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_01_00_04" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="task_mbox.d_raw" --cmd_file="configPkg/compiler.opt" "../task_mbox.c"
"C:/ti/mmwave_industrial_toolbox_3_1_1/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/radarProcess.h", line 58: warning #48-D: incompatible redefinition of macro "M_PI" (declared at line 152 of "C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include/math.h")
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
Finished building: "../task_mbox.c"

makefile:159: recipe for target 'all' failed

**** Build Finished ****

I have been stuck on this for a while and I've reviewed the previous forum posts for the same issue but none of the resolutions have worked for me.

Regards,