软件版本:CCS7.3
评估板:AWR1642
C674xdsp
编译dss工程,错误如下:
Description Resource Path Location Type
#1965 cannot open source file "DSPF_sp_fftSPxSP.h" RADARDEMO_rangeProc_priv.h /pplcount_16xx_dss line 55 C/C++ Problem
gmake: *** [all] Error 2 pplcount_16xx_dss C/C++ Problem
gmake[1]: *** [RADARDEMO_rangeProc_priv.oe674] Error 1 pplcount_16xx_dss C/C++ Problem
gmake[1]: *** [RADARDEMO_rangeProc.oe674] Error 1 pplcount_16xx_dss C/C++ Problem
gmake[1]: Target 'main-build' not remade because of errors. pplcount_16xx_dss C/C++ Problem
'Building file: ../RADARDEMO_detectionCFAR_priv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccs7.3/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/workspace_7.3/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_0_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/SDK/mmwave_sdk_01_01_00_02/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_imre/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_0_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ccs7.3/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_detectionCFAR_priv.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_detectionCFAR_priv.c"
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
'Finished building: ../RADARDEMO_detectionCFAR_priv.c'
' '
makefile:165: recipe for target 'all' failed
**** Build Finished ****
添加路径后:
编译报错:
Description Resource Path Location Type
#10008-D cannot find file "dsplib674x_elf.lib" dss_mmw_linker.cmd /pplcount_16xx_dss line 40 C/C++ Problem
#10010 errors encountered during linking; "xwr16xx_pcount_dss.xe674" not built pplcount_16xx_dss C/C++ Problem
<a href="http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10234">#10234-D</a> unresolved symbols remain pplcount_16xx_dss C/C++ Problem
cannot find file "dsplib674x_elf.lib" cannot find file "dsplib674x_elf.lib" pplcount_16xx_dss C/C++ Problem
gmake: *** [all] Error 2 pplcount_16xx_dss C/C++ Problem
gmake[1]: *** [main-build] Error 2 pplcount_16xx_dss C/C++ Problem
gmake[2]: *** [xwr16xx_pcount_dss.xe674] Error 1 pplcount_16xx_dss C/C++ Problem
unresolved symbol DSPF_sp_fftSPxSP, first referenced in ./RADARDEMO_aoaEstCaponBF.oe674 pplcount_16xx_dss C/C++ Problem
'Building target: xwr16xx_pcount_dss.xe674'
'Invoking: C6000 Linker'
"C:/ti/ccs7.3/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z -m"xwr16xx_pcount_dss.map" --stack_size=0x800 --heap_size=0x800 -i"C:/workspace_7.3/pplcount_16xx_dss" -i"C:/workspace_7.3/pplcount_16xx_dss/Debug" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/crc/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/mailbox/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/osal/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/soc/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/uart/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/edma/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/drivers/adcbuf/lib" -i"C:/ti/SDK/mmwave_sdk_01_01_00_02/packages/ti/alg/mmwavelib/lib" -i"C:/ti/dsplib_c64Px_3_4_0_0/lib" -i"C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti/ccs7.3/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/lib" -i"C:/ti/ccs7.3/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" --reread_libs --disable_auto_rts --display_error_number --diag_wrap=off --warn_sections --diag_warning=225 --xml_link_info="xwr16xx_pcount_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "xwr16xx_pcount_dss.xe674" "./RADARDEMO_aoaEstCaponBF.oe674" "./RADARDEMO_aoaEstCaponBF_DopplerEst.oe674" "./RADARDEMO_aoaEstCaponBF_heatmapEst.oe674" "./RADARDEMO_aoaEstCaponBF_matrixInv.oe674" "./RADARDEMO_detectionCFAR.oe674" "./RADARDEMO_detectionCFAR_priv.oe674" "./RADARDEMO_rangeProc.oe674" "./RADARDEMO_rangeProc_priv.oe674" "./RADARDEMO_rangeProc_utils.oe674" "./cycle_measure.oe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./radarOsal_malloc.oe674" "./radarProcess.oe674" "../c674x_linker.cmd" "../dss_mmw_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.ae674 -llibsoc_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibmailbox_xwr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -ldsplib.ae64P -ldsplib674x_elf.lib -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -lrts6740_elf.lib -llibc.a
<Linking>
"../dss_mmw_linker.cmd", line 40: error #10008-D: cannot find file "dsplib674x_elf.lib"
error #10008-D: cannot find file "dsplib674x_elf.lib"
"../dss_mmw_linker.cmd", line 40: warning #10068-D: no matching section
"../dss_mmw_linker.cmd", line 55: warning #10068-D: no matching section
warning #10370-D: Possible codesize or performance degradation. Section ".text:RADARDEMO_rangeProc_run:RADARDEMO_rangeProc.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe00608, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:RADARDEMO_rangeProc_run:RADARDEMO_rangeProc.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe003a0, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
>> Compilation failure
makefile:174: recipe for target 'xwr16xx_pcount_dss.xe674' failed
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20005944, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20005840, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
undefined first referenced
symbol in file
--------- ----------------
DSPF_sp_fftSPxSP ./RADARDEMO_aoaEstCaponBF.oe674
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "xwr16xx_pcount_dss.xe674" not built
gmake[2]: *** [xwr16xx_pcount_dss.xe674] Error 1
gmake[1]: *** [main-build] Error 2
gmake: *** [all] Error 2
makefile:170: recipe for target 'main-build' failed
makefile:165: recipe for target 'all' failed
**** Build Finished ****
求助阿~~