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/IWR6843ISK: compilation failure on DSS folder

Part Number: IWR6843ISK
Other Parts Discussed in Thread: IWR6843, MATHLIB, CCSTUDIO

Tool/software: Code Composer Studio

Hi Team,

1. I try to compile lab of "68xx_3D_people_counting" under folder of "C:\ti\mmwave_industrial_toolbox_4_4_0\labs\people_counting\68xx_3D_people_counting"

    based on H/W: IWR6843 ISK ES2  and S/W Tool: CCS 8.3.1 SDK 3.4.0.3 Industrial Tool 4.4.0

2. Result:

    Here logged part of report as followings,

Building file: "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c"
Invoking: C6000 Compiler
"C:/ti/c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -g --include_path="F:/wklDropBox/Dropbox/TI_MMWaveProject/workspace_V40_PC3_IWR6843_ISK_ES2_CCS831_SDK3403_I421_PC3D/3D_people_count_68xx_dss" --include_path="C:/ti/c6000_7.4.16/include" --diag_wrap=off --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="dss/objectdetection.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c"
 
>> Compilation failure
dss/subdir_rules.mk:16: recipe for target 'dss/objectdetection.obj' failed
"C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c", line 48: fatal error #5: could not open source file "ti/drivers/soc/soc.h"
1 fatal error detected in the compilation of "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c".
Compilation terminated.
gmake: *** [dss/objectdetection.obj] Error 1
Building file: "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpu/capon3d/src/radarProcess.c"
Invoking: C6000 Compiler
"C:/ti/c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -g --include_path="F:/wklDropBox/Dropbox/TI_MMWaveProject/workspace_V40_PC3_IWR6843_ISK_ES2_CCS831_SDK3403_I421_PC3D/3D_people_count_68xx_dss" --include_path="C:/ti/c6000_7.4.16/include" --diag_wrap=off --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="dss/radarProcess.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpu/capon3d/src/radarProcess.c"

3. How to solve this issue?

Regards,

Kevin

  • Kevin,

    Looking at your build output, you seem to be missing a bunch of compiler include paths. To give you a comparison, here is my build output for one of the source files (objectdetection.c) for the same 3D_people_count_68xx_dss project.
    (My C6000 compiler version is different from yours but that is not relevant for this issue).


    Building file: "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c"
    Invoking: C6000 Compiler
    "C:/CCStudio_8.3.0.00009/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --include_path="C:/workspaces/ccsv830/mmwave_workspace/3D_people_count_68xx_dss" --include_path="C:/workspaces/ccsv830/mmwave_workspace/3D_people_count_68xx_dss/dss" --include_path="C:/ti/mmwave_sdk_03_02_00_04/packages" --include_path="C:/ti/mmwave_sdk_03_02_00_04/packages/ti/demo/utils" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16_imre/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/dsplib_c674x_3_4_0_0/packages" --include_path="C:/ti/mmwave_industrial_toolbox_4_4_0/labs" --include_path="C:/CCStudio_8.3.0.00009/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=PLATFORMES2 --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3_CODEMEM_SIZE=0x100 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=OBJDET_NO_RANGE --define=GTRACK_3D --define=APP_RESOURCE_FILE='<'C:/ti/mmwave_industrial_toolbox_4_4_0/labs/people_counting/68xx_3D_people_counting/src/common/pcount3D_hwres.h'>' -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss/objectdetection.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c"
    Finished building: "C:/ti/mmwave_industrial_toolbox_4_4_0/labs/common/src/dpc/capon3d/src/objectdetection.c"

    Did you import the project using the Resource Explorer in CCS?

    Please check your project properties to see why those paths are missing. Perhaps the variables are not resolved properly to the correct paths. Also check that the mmWave SDK is enabled under Products tab.

    Here are my project settings.

  • Hi AartiG,

    1. I will try to add some "include options" in PROPERTIES by your recommended

    2. i would like to close this thread

    Regards,

    Kevin