IWR6843AOPEVM: vital_signs dss工程编译不通过

Part Number: IWR6843AOPEVM
Other Parts Discussed in Thread: MATHLIB

tool: ccs-v12

导入的工程在此目录下mmwave_industrial_toolbox_4_12_1\labs\Vital_Signs\68xx_vital_signs\src

dss工程编译报错:

console:

>> Compilation failure
dss/subdir_rules.mk:9: recipe for target 'dss/dss_data_path.oe674' failed
"../dss/dss_data_path.c", line 85: fatal error #1965: cannot open source file "DSP_fft32x32.h"
1 catastrophic error detected in the compilation of "../dss/dss_data_path.c".
Compilation terminated.
gmake[1]: *** [dss/dss_data_path.oe674] Error 1
Building file: "../dss/dss_main.c"
Invoking: C6000 Compiler
"D:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c6000_8.3.12/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="D:/Users/---/workspace_v12/vital_signs_68xx_dss" --include_path="D:/Users/jiaxin_hu10/workspace_v12/vital_signs_68xx_dss/dss" --include_path="D:/Users/----/workspace_v12/vital_signs_68xx_dss/common" --include_path="D:/ti/mmwave_sdk_03_06_02_00-LTS/packages" --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/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="D:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c6000_8.3.12/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --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=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN -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/dss_main.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/dss_main.c"

>> Compilation failure
dss/subdir_rules.mk:9: recipe for target 'dss/dss_main.oe674' failed
"../dss/dss_main.c", line 95: fatal error #1965: cannot open source file "ti/mathlib/mathlib.h"
1 catastrophic error detected in the compilation of "../dss/dss_main.c".
Compilation terminated.
gmake[1]: *** [dss/dss_main.oe674] Error 1
Building file: "../dss/dss_vitalSignsDemo_utilsFunc.c"
Invoking: C6000 Compiler
"D:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c6000_8.3.12/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="D:/Users/----/workspace_v12/vital_signs_68xx_dss" --include_path="D:/Users/jiaxin_hu10/workspace_v12/vital_signs_68xx_dss/dss" --include_path="D:/Users/---/workspace_v12/vital_signs_68xx_dss/common" --include_path="D:/ti/mmwave_sdk_03_06_02_00-LTS/packages" --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/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="D:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c6000_8.3.12/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --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=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN -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/dss_vitalSignsDemo_utilsFunc.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/dss_vitalSignsDemo_utilsFunc.c"
gmake[1]: Target 'main-build' not remade because of errors.
Finished building: "../dss/dss_vitalSignsDemo_utilsFunc.c"

makefile:152: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

preference:

  • 关于你的咨询,error #1965: cannot open source file

    你重新创建下DSS和MSS项目看看。

    rebuild the DSS and MSS project

    另外看一下设置workspace(工作区)的文件夹命名是否包含中文字符或者特殊字符。

  • 重新导入工程,重新编译后,仍然会出现此类错误,是否存在不同版本SDK不兼容的问题,我安装的SDK是3.6.2.00-LTS

  • 根据显示的错误,似乎表明CCS无法找到mathlib。 您能否检查C:\ti文件夹中是否存在mathlib_C674x_3_1_2_1文件夹? 根据另一个截图,正确版本的mathlib似乎被CCS发现。 您能否单击刷新并再次检查?

    此外,如果它不起作用,你可以尝试通过上面的屏幕截图中的"安装"选项卡重新安装mathlib

    它试图用12.3版CCS构建MSS和DSS项目。 我看不到任何构建错误和构建通过文件

  • 谢谢,我更换了SDK版本之后解决了