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.

re: errors trying to use dsplib in starterware.

dear TI team,

I am using LCDKc6748, trying to use dsplib_c674x_3_2_0_1 with starterware, I have tested the starterware mcasp example, now since I want to implement a filter in this project so I  included some header files in the mcaspPlayBk.c as follows

#include <stdint.h>
#include <math.h>
#include "dsplib.h"
#include "DSPF_sp_fir_gen.h"

In the compiler ->Include Options, I have added the path as follows

"C:\ti\dsplib_c674x_3_2_0_1\packages\ti\dsplib"

"C:\ti\dsplib_c674x_3_2_0_1\packages\ti\dsplib\src\DSPF_sp_fir_gen"

"C:\ti\dsplib_c674x_3_2_0_1\packages\ti\dsplib\src"

"C:\ti\dsplib_c674x_3_2_0_1"

In the LINKER->File Search Path, I have added

"C:\ti\dsplib_c674x_3_2_0_1\packages\ti\dsplib\lib"

In the "include library file or command file" FIELD, I have added

dsplib.lib

while building the project, I get an error as-

**** Build of configuration Debug for project Audio_EX ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/aic31.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 --abi=eabi -g --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib" --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/src/DSPF_sp_fir_gen" --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/src" --include_path="C:/ti/dsplib_c674x_3_2_0_1" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/hw" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/c674x" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/c674x/c6748" --define=c6748 --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="aic31.pp" "C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/aic31.c"
'Finished building: C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/aic31.c'
' '
'Building file: C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/codecif.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 --abi=eabi -g --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib" --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/src/DSPF_sp_fir_gen" --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/src" --include_path="C:/ti/dsplib_c674x_3_2_0_1" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/hw" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/c674x" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/c674x/c6748" --define=c6748 --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="codecif.pp" "C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/codecif.c"
'Finished building: C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/codecif.c'
' '
'Building file: C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/mcaspPlayBk.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 --abi=eabi -g --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib" --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/src/DSPF_sp_fir_gen" --include_path="C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/src" --include_path="C:/ti/dsplib_c674x_3_2_0_1" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/hw" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/c674x" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/include/c674x/c6748" --define=c6748 --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="mcaspPlayBk.pp" "C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/mcaspPlayBk.c"
"C:/ti/dsplib_c674x_3_2_0_1/packages/ti/dsplib/dsplib.h", line 38: fatal error #5: could not open source file "ti/dsplib/src/DSPF_blk_eswap16/DSPF_blk_eswap16.h"

1 fatal error detected in the compilation of "C:/Program Files (x86)/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/mcasp/mcaspPlayBk.c".
>> Compilation failure
Compilation terminated.
gmake: *** [mcaspPlayBk.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Could you please suggest something?

Regards