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.

C6713 building and compiling problems CCSv5.5

Other Parts Discussed in Thread: CCSTUDIO

I imported a file from CCSv3.3 to CCSv5.5, i solved all the migrating problems with the help of this forum, yet i still have a problem when building and compiling a small test code (builds a sine wave from a lookup table).

From what i collected from reading other posts since CCS4.x this headers don't exist, so i want to ask for help in how can i change the 2 files in order to solve building and compilation errors since i already removed the option from:

Project Properties  ->C6000 compiler->include option and removed the "${C6000_CSL_CG_ROOT}/lib"

but now appear errors building in dsk6713.h, in several lines (56,59,62,65,68), i guess (correct me if i'm wrong) from omitting the CSL headers:

error 20#: identifier "Uint8" is undefined

error 20#: identifier "Int16" is undefined

and errors compiling in dsk6713_aic23.h in line 19: fatal error #5: could not open source file "csl_mcbsp.h"

Thanks in advance and i hope you can help me

0272.dsk6713_aic23.h

1586.dsk6713.h

  • The header files you mentioned are from Spectrum Digital's Board Support Library (BSL). I don't recall precisely, but the errors are probably because you also need the Chip Support Library (CSL) provided by TI:

    http://www.ti.com/tool/sprc090

    This used to be included in CCSv3.3 and older, but starting with v4 you need to download this separately.

    --Rafael

  • Already download it since i followed the wiki page on how to "install" the board:

    http://processors.wiki.ti.com/index.php/C6713DSK_in_CCSv5

    so i guess the problem isnt from there, thanks anyway

  • Despite the CSL was installed, are you sure you added the directory C6xCSL\include to the compiler include paths?

    I am almost sure this directory is missing, as I can see that not only the file <csl_mcbsp.h> is there but also the data types missing from <dsk6713.h> are in the file <tistdtypes.h>.

    --Rafael

  • Thanks, you were right, i had to add that to the compiler paths that solved the compiling problems of the <csl_mcbsp.h> but the

    error 20#: identifier "Uint8" is undefined and

    error 20#: identifier "Int16" is undefined

    keep appearing building and compiling the file dsk6713.h

    EDIT: i've included that library and the C6xCSL\lib_3x

    is this problem related to the "${XDAIS_CG_ROOT}/pakages/ti/xdais" ?

    **** Build of configuration Debug for project Sine8_buf ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../c6713dskinit.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.4.4/bin/cl6x" -mv6710 --abi=coffabi -g --include_path="C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.4.4/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/C6xCSL/include" --include_path="C:/C6xCSL/lib_3x" --define=CHIP_6713 --define=c6713 --quiet --display_error_number --diag_wrap=off --mem_model:data=far --src_interlist --obj_directory="D:/CCStudio_v3.1/MyProjects/sine8_buf/Debug" --preproc_with_compile --preproc_dependency="c6713dskinit.pp" "../c6713dskinit.c"
    "..\dsk6713.h", line 56: error #20: identifier "Uint8" is undefined
    "..\dsk6713.h", line 56: error #20: identifier "Int16" is undefined

    >> Compilation failure
    "..\dsk6713.h", line 59: error #20: identifier "Int16" is undefined
    "..\dsk6713.h", line 59: error #20: identifier "Uint8" is undefined
    "..\dsk6713.h", line 62: error #20: identifier "Uint32" is undefined
    "..\dsk6713.h", line 65: error #20: identifier "Uint32" is undefined
    "..\dsk6713.h", line 68: error #20: identifier "Int16" is undefined
    7 errors detected in the compilation of "../c6713dskinit.c".
    gmake: *** [D:/CCStudio_v3.1/MyProjects/sine8_buf/Debug/c6713dskinit.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Hi,

    You probably need to add the include file <tistdtypes.h> somewhere in your project (not sure, as I worked with this a long time ago), as it contains typedefs for all the missing types. That should take care of these errors.

    --Rafael

  • Thanks i solved it, it was some other files that were not included ;)

    thanks Rafael.

    Francisco Esteves

  • Im too getting the same error

    #5</a> could not open source file "csl_mcbsp.h" dsk6713_aic23.h /nn line 19 C/C++ Problem

    I had downloaded all the csl files- from http://www.ti.com/tool/sprc090

    I read all your above discussion but i did'nt get it.
    and my problem is still unresolved.

    please help me in this.
    waiting for your reply.
  • Im too getting the same error 

    #5</a> could not open source file "csl_mcbsp.h" dsk6713_aic23.h /nn line 19 C/C++ Problem

    I had downloaded all the csl files- from http://www.ti.com/tool/sprc090

    But Im not getting which CSL file to include in the include section of complier properties

    I dont have such file with me

    I read all your above discussion but i did'nt get it.
    and my problem is still unresolved.

    please help me in this.
    waiting for your reply.