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/AWR1642BOOST: Unable to build out-of-box demo in CCS

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: SYSBIOS, MATHLIB

Tool/software: Code Composer Studio

CCS 8.1.0

mmwave_sdk_01_02_00_05

Industrial Toolbox v:1.6.1

In the Industrial Toolbox labs, I opened the mmwave SDK Demo - 16xx in code composer studio. While compiling the DSS, I am getting the following error:


>> Compilation failure
subdir_rules.mk:16: recipe for target 'dss_data_path.oe674' failed
"../dss_data_path.c", line 100: fatal error #1965: cannot open source file "dss_resources.h"

Here is the full compilation log:

**** Build of configuration Debug for project mmw_dss_16xx ****

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

rm -f C:/Users/scpatich/workspace_v8/mmw_dss_16xx/xwr16xx_mmw_dss.bin

Building file: "../dss_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.elf.C674 -p ti.platforms.c6x:IWR16XX:false:600 -r release -c "C:/ti/ti-cgt-c6000_8.1.3" "../dss_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 dss_mmw.xe674 from package/cfg/dss_mmw_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/scpatich/workspace_v8/mmw_dss_16xx/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `C:/Users/scpatich/workspace_v8/mmw_dss_16xx/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/scpatich/workspace_v8/mmw_dss_16xx/src/sysbios'
Build of libraries done.
cle674 package/cfg/dss_mmw_pe674.c ...
Finished building: "../dss_mmw.cfg"

Building file: "../dss_data_path.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/scpatich/workspace_v8/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/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="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_data_path.c"

>> Compilation failure
subdir_rules.mk:16: recipe for target 'dss_data_path.oe674' failed
"../dss_data_path.c", line 100: fatal error #1965: cannot open source file "dss_resources.h"
1 catastrophic error detected in the compilation of "../dss_data_path.c".
Compilation terminated.
gmake[1]: *** [dss_data_path.oe674] Error 1
Building file: "../gen_twiddle_fft32x32.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/scpatich/workspace_v8/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/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="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft32x32.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft32x32.c"
Finished building: "../gen_twiddle_fft32x32.c"

Building file: "../gen_twiddle_fft16x16.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/scpatich/workspace_v8/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/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="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft16x16.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft16x16.c"
Finished building: "../gen_twiddle_fft16x16.c"

Building file: "../dss_config_edma_util.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/scpatich/workspace_v8/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/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="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_config_edma_util.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_config_edma_util.c"
Finished building: "../dss_config_edma_util.c"

Building file: "../rx_ch_bias_measure.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/scpatich/workspace_v8/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/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="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="rx_ch_bias_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../rx_ch_bias_measure.c"
Finished building: "../rx_ch_bias_measure.c"

Building file: "../dss_main.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/scpatich/workspace_v8/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/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="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_main.c"
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
Finished building: "../dss_main.c"

makefile:156: recipe for target 'all' failed

**** Build Finished ****

  • Hello,

    Chaitanya Patil11 said:
    >> Compilation failure
    subdir_rules.mk:16: recipe for target 'dss_data_path.oe674' failed
    "../dss_data_path.c", line 100: fatal error #1965: cannot open source file "dss_resources.h"

    "../dss_data_path.c", line 100 should be like this: 

    #include <ti/demo/utils/rx_ch_bias_measure.h>

    It means that you have modified dss_data_path.c

    Please, delete this project (by marking ON "Delete from the disk") then
    download this project again and should be fine.