CCS8.3.1 中导入Industrial Toolbox 中例程出现语法错误-IWR6843

您好:

     我从Industrial Toolbox 中导入ods_point_cloud_68xx_hwa例程,rebuild project 出现编译错误,错误类型如下:

  • 你好,

    请确认你安装的mmwave sdk版本和这个demo需要的sdk版本一致。
  • 你好!

     我查看我安装mmwave sdk版本与这个demo需要的sdk版本一致,如图

  • 你好,

    请问arm的编译版本是什么?我尝试编译了类似的demo,没有问题。附件编译log你对比一下你的。

    log.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    **** Clean-only build of configuration Debug for project ods_point_cloud_68xx_hwa ****
    "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O
    DEL /F "ods_point_cloud_68xx_mss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "ods_point_cloud_68xx_mss.xer4f"
    DEL /F "board\antenna_geometry.oer4f" "datapath\dpc\dpu\aoa2dproc\src\aoa2dprochwa.oer4f" "datapath\dpc\objectdetection\objdethwa\src\objectdetection.oer4f" "mss\data_path.oer4f" "mss\main.oer4f" "mss\mmw_cli.oer4f" "mss\mmw_lvds_stream.oer4f" "utils\mmwdemo_adcconfig.oer4f" "utils\mmwdemo_monitor.oer4f" "utils\mmwdemo_rfparser.oer4f"
    DEL /F "board\antenna_geometry.d" "datapath\dpc\dpu\aoa2dproc\src\aoa2dprochwa.d" "datapath\dpc\objectdetection\objdethwa\src\objectdetection.d" "mss\data_path.d" "mss\main.d" "mss\mmw_cli.d" "mss\mmw_lvds_stream.d" "utils\mmwdemo_adcconfig.d" "utils\mmwdemo_monitor.d" "utils\mmwdemo_rfparser.d"
    RMDIR /S/Q "configPkg\"
    Could Not Find C:\Users\a0389162\workspace_v9\ods_point_cloud_68xx_hwa\Debug\ods_point_cloud_68xx_mss.hex
    Finished clean
    **** Build Finished ****
    **** Build of configuration Debug for project ods_point_cloud_68xx_hwa ****
    "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
    rm -f "C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/Debug/ods_point_cloud_68xx.bin"
    makefile:216: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/Debug/ods_point_cloud_68xx.bin, ...) failed.
    gmake[1]: [pre-build] Error 2 (ignored)
    Building file: "../mss/mmw.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.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 mmw.xer4ft from package/cfg/mmw_per4ft.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss/src/sysbios/sysbios.aer4ft ...
    gmake[1]: Entering directory `C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss/src/sysbios'
    cler4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/BIOS.c ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ...
    asmer4ft C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/a15/TimestampProvider_asm.asm ...
    arer4ft BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj a15_TimestampProvider_asm.obj ...
    gmake[1]: Leaving directory `C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss/src/sysbios'
    Build of libraries done.
    cler4ft package/cfg/mmw_per4ft.c ...
    Finished building: "../mss/mmw.cfg"
    Building file: "../board/antenna_geometry.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/utils" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/board" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objdethwa" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objectdetection/common" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc/include" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'mss/mmw_res.h'>' -g --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="board/antenna_geometry.d_raw" --obj_directory="board" --cmd_file="configPkg/compiler.opt" "../board/antenna_geometry.c"
    Finished building: "../board/antenna_geometry.c"
    Building file: "../utils/mmwdemo_adcconfig.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/utils" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/board" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objdethwa" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objectdetection/common" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc/include" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'mss/mmw_res.h'>' -g --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="utils/mmwdemo_adcconfig.d_raw" --obj_directory="utils" --cmd_file="configPkg/compiler.opt" "../utils/mmwdemo_adcconfig.c"
    Finished building: "../utils/mmwdemo_adcconfig.c"
    Building file: "../utils/mmwdemo_monitor.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/utils" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/board" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objdethwa" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objectdetection/common" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc/include" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'mss/mmw_res.h'>' -g --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="utils/mmwdemo_monitor.d_raw" --obj_directory="utils" --cmd_file="configPkg/compiler.opt" "../utils/mmwdemo_monitor.c"
    Finished building: "../utils/mmwdemo_monitor.c"
    Building file: "../mss/data_path.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/mss" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/utils" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/board" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objdethwa" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/objectdetection/objectdetection/common" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc" --include_path="C:/Users/workspace_v9/ods_point_cloud_68xx_hwa/datapath/dpc/dpu/aoa2dproc/include" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'mss/mmw_res.h'>' -g --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/data_path.d_raw" --obj_directory="mss" --cmd_file="configPkg/compiler.opt" "../mss/data_path.c"
    Finished building: "../mss/data_path.c"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi:

     我工程运行信息如下,可以帮忙看看是什么原因吗?

    log1.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    **** Clean-only build of configuration Debug for project ods_point_cloud_68xx_hwa ****
    "G:\\ccs831\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O
    DEL /F "xwr64xxODS_mmw_mss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr64xxODS_mmw_mss.xer4f"
    DEL /F "board\antenna_geometry.oer4f" "datapath\dpc\objectdetection\objdethwa\objectdetection.oer4f" "mss\data_path.oer4f" "mss\main.oer4f" "mss\mmw_cli.oer4f" "mss\mmw_lvds_stream.oer4f" "utils\mmwdemo_adcconfig.oer4f" "utils\mmwdemo_monitor.oer4f" "utils\mmwdemo_rfparser.oer4f"
    DEL /F "board\antenna_geometry.d" "datapath\dpc\objectdetection\objdethwa\objectdetection.d" "mss\data_path.d" "mss\main.d" "mss\mmw_cli.d" "mss\mmw_lvds_stream.d" "utils\mmwdemo_adcconfig.d" "utils\mmwdemo_monitor.d" "utils\mmwdemo_rfparser.d"
    RMDIR /S/Q "configPkg\"
    �Ҳ��� G:\Users\GY_C\workspace_v8\ods_point_cloud_68xx_hwa\Debug\xwr64xxODS_mmw_mss.hex
    �Ҳ��� G:\Users\GY_C\workspace_v8\ods_point_cloud_68xx_hwa\Debug\xwr64xxODS_mmw_mss.xer4f
    �Ҳ��� G:\Users\GY_C\workspace_v8\ods_point_cloud_68xx_hwa\Debug\datapath\dpc\objectdetection\objdethwa\objectdetection.oer4f
    Finished clean
    **** Build Finished ****
    **** Build of configuration Debug for project ods_point_cloud_68xx_hwa ****
    "G:\\ccs831\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
    rm -f "G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa/Debug/ods_point_cloud_68xx.bin"
    makefile:212: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa/Debug/ods_point_cloud_68xx.bin, ...) failed.
    make (e=2): ϵͳ�Ҳ���ָ�����ļ���
    gmake[1]: [pre-build] Error 2 (ignored)
    Building file: "../mss/mmw.cfg"
    Invoking: XDCtools
    "G:/xdctools_3_50_08_24_core/xs" --xdcpath="G:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.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 mmw.xer4ft from package/cfg/mmw_per4ft.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa/mss/src/sysbios/sysbios.aer4ft ...
    gmake[1]: Entering directory `G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa/mss/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa/mss/src/sysbios'
    Build of libraries done.
    cler4ft package/cfg/mmw_per4ft.c ...
    Finished building: "../mss/mmw.cfg"
    Building file: "../datapath/dpc/objectdetection/objdethwa/objectdetection.c"
    Invoking: ARM Compiler
    "G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/utils" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/objdethwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/common" --include_path="G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --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="datapath/dpc/objectdetection/objdethwa/objectdetection.d_raw" --obj_directory="datapath/dpc/objectdetection/objdethwa" --cmd_file="configPkg/compiler.opt" "../datapath/dpc/objectdetection/objdethwa/objectdetection.c"
    >> Compilation failure
    datapath/dpc/objectdetection/objdethwa/subdir_rules.mk:9: recipe for target 'datapath/dpc/objectdetection/objdethwa/objectdetection.oer4f' failed
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 1872: error #137: struct "DPU_AoAProcHWA_StaticConfig_t" has no field "numVirtualAntAzim"
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 1873: error #137: struct "DPU_AoAProcHWA_StaticConfig_t" has no field "numVirtualAntElev"
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 2008: warning #225-D: function "DPU_AOAPROCHWA_NUM_HWA_PARAM_SETS" declared implicitly
    2 errors detected in the compilation of "../datapath/dpc/objectdetection/objdethwa/objectdetection.c".
    gmake[1]: *** [datapath/dpc/objectdetection/objdethwa/objectdetection.oer4f] Error 1
    Building file: "../board/antenna_geometry.c"
    Invoking: ARM Compiler
    "G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/utils" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/objdethwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/common" --include_path="G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --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="board/antenna_geometry.d_raw" --obj_directory="board" --cmd_file="configPkg/compiler.opt" "../board/antenna_geometry.c"
    Finished building: "../board/antenna_geometry.c"
    Building file: "../mss/data_path.c"
    Invoking: ARM Compiler
    "G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/utils" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/objdethwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/common" --include_path="G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --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/data_path.d_raw" --obj_directory="mss" --cmd_file="configPkg/compiler.opt" "../mss/data_path.c"
    Finished building: "../mss/data_path.c"
    Building file: "../mss/mmw_lvds_stream.c"
    Invoking: ARM Compiler
    "G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="G:/Users/GY_C/workspace_v8/ods_point_cloud_68xx_hwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/utils" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/objdethwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/common" --include_path="G:/ccs831/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --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/mmw_lvds_stream.d_raw" --obj_directory="mss" --cmd_file="configPkg/compiler.opt" "../mss/mmw_lvds_stream.c"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    谢谢

  • 你好,

    你能升级CCS到9.3或者更高的版本,再尝试一下么?

    SDK3.4是要求CCS9.3或以上版本。
  • Hi!

    我将ccs升级安装出现同样问题。

    3007.log1.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    **** Clean-only build of configuration Debug for project ods_point_cloud_68xx_hwa ****
    "G:\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O
    DEL /F "xwr64xxODS_mmw_mss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr64xxODS_mmw_mss.xer4f"
    DEL /F "board\antenna_geometry.oer4f" "datapath\dpc\objectdetection\objdethwa\objectdetection.oer4f" "mss\data_path.oer4f" "mss\main.oer4f" "mss\mmw_cli.oer4f" "mss\mmw_lvds_stream.oer4f" "utils\mmwdemo_adcconfig.oer4f" "utils\mmwdemo_monitor.oer4f" "utils\mmwdemo_rfparser.oer4f"
    DEL /F "board\antenna_geometry.d" "datapath\dpc\objectdetection\objdethwa\objectdetection.d" "mss\data_path.d" "mss\main.d" "mss\mmw_cli.d" "mss\mmw_lvds_stream.d" "utils\mmwdemo_adcconfig.d" "utils\mmwdemo_monitor.d" "utils\mmwdemo_rfparser.d"
    RMDIR /S/Q "configPkg\"
    �Ҳ��� G:\ccs930\workspace\ods_point_cloud_68xx_hwa\Debug\xwr64xxODS_mmw_mss.hex
    �Ҳ��� G:\ccs930\workspace\ods_point_cloud_68xx_hwa\Debug\xwr64xxODS_mmw_mss.xer4f
    �Ҳ��� G:\ccs930\workspace\ods_point_cloud_68xx_hwa\Debug\datapath\dpc\objectdetection\objdethwa\objectdetection.oer4f
    Finished clean
    **** Build Finished ****
    **** Build of configuration Debug for project ods_point_cloud_68xx_hwa ****
    "G:\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
    rm -f "G:/ccs930/workspace/ods_point_cloud_68xx_hwa/Debug/ods_point_cloud_68xx.bin"
    makefile:212: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f G:/ccs930/workspace/ods_point_cloud_68xx_hwa/Debug/ods_point_cloud_68xx.bin, ...) failed.
    make (e=2): ϵͳ�Ҳ���ָ�����ļ���
    gmake[1]: [pre-build] Error 2 (ignored)
    Building file: "../mss/mmw.cfg"
    Invoking: XDCtools
    "G:/ti/sdk_03_04_00_03/xdctools_3_50_08_24_core/xs" --xdcpath="G:/ti/bios/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "G:/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.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 mmw.xer4ft from package/cfg/mmw_per4ft.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making G:/ccs930/workspace/ods_point_cloud_68xx_hwa/mss/src/sysbios/sysbios.aer4ft ...
    gmake[1]: Entering directory `G:/ccs930/workspace/ods_point_cloud_68xx_hwa/mss/src/sysbios'
    cler4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/BIOS.c ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ...
    asmer4ft G:/ti/bios/bios_6_73_01_01/packages/ti/sysbios/family/arm/a15/TimestampProvider_asm.asm ...
    arer4ft BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj a15_TimestampProvider_asm.obj ...
    gmake[1]: Leaving directory `G:/ccs930/workspace/ods_point_cloud_68xx_hwa/mss/src/sysbios'
    Build of libraries done.
    cler4ft package/cfg/mmw_per4ft.c ...
    Finished building: "../mss/mmw.cfg"
    Building file: "../datapath/dpc/objectdetection/objdethwa/objectdetection.c"
    Invoking: ARM Compiler
    "G:/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="G:/ccs930/workspace/ods_point_cloud_68xx_hwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/utils" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/objdethwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/common" --include_path="G:/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --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="datapath/dpc/objectdetection/objdethwa/objectdetection.d_raw" --obj_directory="datapath/dpc/objectdetection/objdethwa" --cmd_file="configPkg/compiler.opt" "../datapath/dpc/objectdetection/objdethwa/objectdetection.c"
    >> Compilation failure
    datapath/dpc/objectdetection/objdethwa/subdir_rules.mk:9: recipe for target 'datapath/dpc/objectdetection/objdethwa/objectdetection.oer4f' failed
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 1872: error #137: struct "DPU_AoAProcHWA_StaticConfig_t" has no field "numVirtualAntAzim"
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 1873: error #137: struct "DPU_AoAProcHWA_StaticConfig_t" has no field "numVirtualAntElev"
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 2008: warning #225-D: function "DPU_AOAPROCHWA_NUM_HWA_PARAM_SETS" declared implicitly
    2 errors detected in the compilation of "../datapath/dpc/objectdetection/objdethwa/objectdetection.c".
    gmake[1]: *** [datapath/dpc/objectdetection/objdethwa/objectdetection.oer4f] Error 1
    Building file: "../board/antenna_geometry.c"
    Invoking: ARM Compiler
    "G:/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="G:/ccs930/workspace/ods_point_cloud_68xx_hwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/demo/utils" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/objdethwa" --include_path="G:/ti/sdk_03_04_00_03/mmwave_sdk_03_04_00_03/packages/ti/datapath/dpc/objectdetection/common" --include_path="G:/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --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=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --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="board/antenna_geometry.d_raw" --obj_directory="board" --cmd_file="configPkg/compiler.opt" "../board/antenna_geometry.c"
    Finished building: "../board/antenna_geometry.c"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 你好,

    我又仔细看了一下你的出错地方,主要是下面的错误。

    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 1872: error #137: struct "DPU_AoAProcHWA_StaticConfig_t" has no field "numVirtualAntAzim"
    "../datapath/dpc/objectdetection/objdethwa/objectdetection.c", line 1873: error #137: struct "DPU_AoAProcHWA_StaticConfig_t" has no field "numVirtualAntElev"

    我下载了最新的industrial toolbox 4.4,并且导入了labs\out_of_box_demo\68xx_ods_point_cloud_demo,但在我的CCS工程里面的objectdetection.c文件里面的第1872/1873行代码是注释。

    所以请问你是否对objectdetection.c做过了修改?

  • 我重新下载industrial toolbox4.4 运行成功了,谢谢。