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.

使用TI 新的FFTLIB库,编译错误的问题

Other Parts Discussed in Thread: FFTLIB

在使用TI 新的FFTLIB(fftlib_c66x_2_0_0_2)时,出现编译错误的问题。使用库中的fft_sp_1d_r2c_batch函数,文件夹“c:\ti\fftlib_c66x_2_0_0_2\packages\ti\fftlib\src\common”中的所有文件都加入到工程中。主程序中添加的头文件如下:

#include <ti\fftlib\src\fft_sp_1d_r2c_batch\fft_sp_1d_r2c_batch.h>

#include <ti\fftlib\src\common\fft_edma.h>

 

编译时报的错误:

undefined        first referenced                 

  symbol              in file                      

 ---------        ----------------                 

 EdmaMgr_alloc    ./omp_demo/RDSPDemo/rdspFrame.obj

 EdmaMgr_copy1D1D ./fft_sp_1d_r2c_batch.obj        

 EdmaMgr_init     ./omp_demo/RDSPDemo/rdspFrame.obj

 EdmaMgr_wait     ./fft_sp_1d_r2c_batch.obj        

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "Demo_ffttest.out"

>> Compilation failure

gmake: *** [Demo_VPX6_DSP4_tobofei_ffttest.out] Error 1

gmake: Target `all' not remade because of errors.

>> Compilation failure

gmake: *** [Demo_VPX6_DSP4_tobofei_ffttest.out] Error 1

gmake: Target `all' not remade because of errors.

 

Description

#10010 errors encountered during linking; "Demo_VPX6_DSP4_tobofei_ffttest.out" not built

#10234-D  unresolved symbols remain

unresolved symbol EdmaMgr_alloc, first referenced in ./omp_demo/RDSPDemo/rdspFrame.obj

unresolved symbol EdmaMgr_copy1D1D, first referenced in ./fft_sp_1d_r2c_batch.obj

unresolved symbol EdmaMgr_init, first referenced in ./omp_demo/RDSPDemo/rdspFrame.obj

unresolved symbol EdmaMgr_wait, first referenced in ./fft_sp_1d_r2c_batch.obj

 

使用的CCS版本为5.4;Compiler version v7.4.4;bios version 6_35_01_29;framework_components version 3_30_00_06;pdk version C6678_1_1_2_6。

 

函数EdmaMgr_alloc,EdmaMgr_copy1D1D,EdmaMgr_init,EdmaMgr_wait在fft_edma.h中引用的#include <ti/sdo/fc/edmamgr/edmamgr.h>中都有声明,为什么编译时还会出现未定义的错误?

  • 你好,头文件加上后,检查一下,需要把库文件也加上

  • 你好,我把“c:\ti\framework_components_3_30_00_06\packages\ti\sdo\fc\sdo”文件夹下的库都添加后,编译时报的错误:

    undefined                                     first referenced                                                                                                          

      symbol                                           in file                                                                                                               

     ---------                                     ----------------                                                                                                          

     xdc_runtime_knl_GateProcess_Module__FXNS__C   C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/osalsupport/lib/release/osal_support.ae66<OsalSupport.oe66>

     xdc_runtime_knl_GateProcess_Object__create__S C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/osalsupport/lib/release/osal_support.ae66<OsalSupport.oe66>

     

    >> Compilation failure

     xdc_runtime_knl_GateProcess_Object__delete__S C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/osalsupport/lib/release/osal_support.ae66<OsalSupport.oe66>

     xdc_runtime_knl_GateProcess_Params__init__S   C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/osalsupport/lib/release/osal_support.ae66<OsalSupport.oe66>

     

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "Demo_VPX6_DSP4_ffttest20140531.out" not built

    gmake: *** [Demo_ffttest.out] Error 1

    gmake: Target `all' not remade because of errors.

     这个错误是要添加哪个头文件和库?

  • 您好,请问你的问题解决了么?

    我有几个问题想请教您,我也想使用TI 的fftlib库,发现里面没有现成的库文件,只有源文件,要用还得自己编译,但是我在搭建环境的时候出现问题了

    我这里没有framework component 还有xdctools 请问这个两个是怎么来的,要装什么软件?

  • 关于framework component 已经配置好了。
    FFTLIB 中fft_sp_1d_r2c的工程也弄好了,请问怎么编译成我需要的库文件啊
  • 参考FFTLIB 2.0.0.2 Release Notes中的dependencies部分,下载并安装相应的组件