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.

总也解决不了的dsplib示例无法运行问题



C5535的DSPLIB中的示例CFFT总是无法运行的问题

从CCS的project中import ccs project功能调入DSPLIB中EXAMPLE的CFFT工程,然后BUILD PROJECT总是出现以下错误:


**** Clean-only build of configuration Debug for project cfft ****

"J:\\program files\\Texas Instrument\\ccsv8\\utils\\bin\\gmake" -k clean 

DEL /F "J:\program files\Texas Instrument\c55_dsplib_03.00.00.03\EXAMPLES\CFFT\ccsv5\Debug\cfft.out" 
DEL /F "CFFT_T.obj" "TEST.obj" 
DEL /F "CFFT_T.d" "TEST.d" 
找不到 J:\program files\Texas Instrument\c55_dsplib_03.00.00.03\EXAMPLES\CFFT\ccsv5\Debug\cfft.out
找不到 J:\program files\Texas Instrument\c55_dsplib_03.00.00.03\EXAMPLES\CFFT\ccsv5\Debug\CFFT_T.obj
找不到 J:\program files\Texas Instrument\c55_dsplib_03.00.00.03\EXAMPLES\CFFT\ccsv5\Debug\CFFT_T.d
Finished clean

**** Build Finished ****
Buildfile generation error occurred..
Referenced project 'dsplib' does not exist in the workspace. Project 'cfft' may not build as expected.
Build stopped..

已经有一段时间了,总也解决不了,发的帖子也没能找的问题在哪里。求各位高手现身相助。先谢谢了!

郝先生

  • 之前说的在CCS里打开dsplib工程了吗?打开的时候选择"copy projects into workspace"
  • 我用ccs的project菜单内的import  ccs  projects打开工程并选择 Copy  project into workspace选项,然后Finish。

    然后用project中的build project功能就会出现我所说的问题:

    不知道错在哪里?请提供帮助!谢谢了!

    郝先生

  • 我的CCSV5有点问题,就用CCSV6吧。

    #1. 按你的方式打开工程并copy到work space,直接编译,会有两个问题,一个问题是找到dsplib.lib,这有两方面原因,一个是因为将工程拷贝到workspace了,路径参考是按原来安装包的相对路径,不是绝对路径,所以找不到。

    另一个呢,在安装包下lib目录下的DSPlib库有几个,但是没有这个名字的,打开readme看下面这段话,就知道这几个库的区别了,跟工程编译memory model相关。

    ================================================================================
    6. Installation Guide
    ================================================================================

    (1) The Windows Batch Files (.bat) provided are set up to build the C55_DSPLIB with different memory models:

    * Blt55x_r3.bat - small memory model
    * Blt55xh_r3.bat - huge memory model
    * Blt55xx_r3.bat - large memory model

    先看一下工程的memory model设置。是huge,

    那么把huge的dsplib加进来。

    再编译,会报找不到dsplib工程,原来原始工程是设置了dsplib工程的关联,如下界面,我就直接把关联取消掉了,因为已经把库加到工程里来了。当然你也可以再打开build目录下的dsplib的工程。

    再编译就可以了。

    **** Clean-only build of configuration Debug for project cfft ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
    DEL /F "C:\Users\\workspace_v6_2\cfft\Debug\cfft.out"
    DEL /F "CFFT_T.d" "TEST.d"
    DEL /F "CFFT_T.obj" "TEST.obj"
    Could Not Find C:\Users\\workspace_v6_2\cfft\Debug\cfft.out
    Could Not Find C:\Users\\workspace_v6_2\cfft\Debug\CFFT_T.d
    Could Not Find C:\Users\\workspace_v6_2\cfft\Debug\CFFT_T.obj
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration Debug for project cfft ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/EXAMPLES/CFFT/CFFT_T.C'
    'Invoking: C5500 Compiler'
    "C:/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -vcore:3.0 --memory_model=huge -g --include_path="C:/ti/ccsv6/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/include" --define="_DEBUG" --quiet --display_error_number --obj_directory="C:/Users//workspace_v6_2/cfft/Debug" --preproc_with_compile --preproc_dependency="CFFT_T.d" "C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/EXAMPLES/CFFT/CFFT_T.C"
    'Finished building: C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/EXAMPLES/CFFT/CFFT_T.C'
    ' '
    'Building file: C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/EXAMPLES/CFFT/TEST.C'
    'Invoking: C5500 Compiler'
    "C:/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -vcore:3.0 --memory_model=huge -g --include_path="C:/ti/ccsv6/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/include" --define="_DEBUG" --quiet --display_error_number --obj_directory="C:/Users//workspace_v6_2/cfft/Debug" --preproc_with_compile --preproc_dependency="TEST.d" "C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/EXAMPLES/CFFT/TEST.C"
    'Finished building: C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/EXAMPLES/CFFT/TEST.C'
    ' '
    'Building target: C:/Users//workspace_v6_2/cfft/Debug/cfft.out'
    'Invoking: C5500 Linker'
    "C:/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -vcore:3.0 --memory_model=huge -g --define="_DEBUG" --quiet --display_error_number --obj_directory="C:/Users//workspace_v6_2/cfft/Debug" -z -m"C:/Users//workspace_v6_2/cfft/Debug/cfft.map" -i"C:/ti/ccsv6/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/lib" -i"C:/ti/c55_lp/c55_dsplib_3.00/c55_dsplib_03.00.00.03/build/ccsv5/Debug" -i"../../../lib" --reread_libs --display_error_number --warn_sections --xml_link_info="C:/Users/a0283043/workspace_v6_2/cfft/Debug/cfft_linkInfo.xml" --rom_model -o "C:/Users/a0283043/workspace_v6_2/cfft/Debug/cfft.out" "./CFFT_T.obj" "./TEST.obj" "../fft55x.cmd" -l55xdsph_r3.lib -lrts55h.lib
    'Finished building target: C:/Users/a0283043/workspace_v6_2/cfft/Debug/cfft.out'
    ' '

    **** Build Finished ****