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.

error in building new project...ccs V3.1

Other Parts Discussed in Thread: CCSTUDIO

------------------------------ BPSK.pjt - Debug ------------------------------
[c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"../../BPSK/Debug.lkf" "c6713dskinit.c"
"c6713dskinit.h", line 3: fatal error: could not open source file "dsk6713.h"
1 fatal error detected in the compilation of "c6713dskinit.c".
Compilation terminated.

>> Compilation failure

[Vectors_intr.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"../../BPSK/Debug.lkf" "Vectors_intr.asm"

[Vectors_poll.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"../../BPSK/Debug.lkf" "Vectors_poll.asm"

[BPSK.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"Debug.lkf" "BPSK.c"

Build Complete,
1 Errors, 0 Warnings, 0 Remarks.

  • Hi Samia,
    Moved this thread to correct forum for faster response. Thank you for your patience.
  • Hi Samia,
    Please refer to the following TI wiki and set the correct include & library path for the CCS project to get successful build.

    processors.wiki.ti.com/.../Include_paths_and_options
  • Hi Samia,

    Samia said:
    [c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"../../BPSK/Debug.lkf" "c6713dskinit.c"
    "c6713dskinit.h", line 3: fatal error: could not open source file "dsk6713.h"
    1 fatal error detected in the compilation of "c6713dskinit.c".
    Compilation terminated.

    The error implies that it cannot find the file, "dsk6713.h". Go to project properties and include the appropriate folder in which the header file lies.

     

    Regards,

    Shankari

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

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Thanks ! But giving include paths! Error are now as!
    ------------------------------ BPSK.pjt - Debug ------------------------------
    [c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -i"C:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -ms3 -mv6710 --mem_model:data=far -@"../../BPSK/Debug.lkf" "c6713dskinit.c"

    [Vectors_poll.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -i"C:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -ms3 -mv6710 --mem_model:data=far -@"../../BPSK/Debug.lkf" "Vectors_poll.asm"

    [BPSK.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/Users/sadia/Desktop/BPSK/Debug" -i"C:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -ms3 -mv6710 --mem_model:data=far -@"Debug.lkf" "BPSK.c"

    [Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
    <Linking>
    >> warning: creating .stack section with default size of 400 (hex) words.
    Use
    -stack option to change the default size.

    undefined first referenced
    symbol in file
    --------- ----------------
    _inputsource C:\Users\sadia\Desktop\BPSK\Debug\c6713dskinit.obj
    >> error: symbol referencing errors - './Debug/BPSK.out' not built

    >> Compilation failure

    Build Complete,
    2 Errors, 1 Warnings, 0 Remarks.
  • I want to run this code!

    #include "C:\CCStudio_v3.1\C6000\dsk6713\include\DSK6713_AIC23.h" //codec-dsk support file
    Uint32 fs=DSK6713_AIC23_FREQ_8KHZ; //set sampling rate
    short bpsk_signal[200];
    short carrier[20];
    void main()
    {
    short k=0,i=0,j=0;
    short carrier[20]={1000,951,809,587,309,0,-309,-587,-809,-951,-1000,-951,-809,-587,-309,0,309,587,809,951}; //400Hz carrier
    short data[10]={1,-1,1,-1,1,-1,1,-1,1,-1};
    comm_poll(); //init DSK, codec, McBSP
    while(1) //infinite loop
    {
    for (k=0; k<10; k++)
    {
    if(data[k]>0) //to check input data(if +1)
    for(i=0;i<20;i++)
    {
    bpsk_signal[j] = carrier[i];
    j++;
    }

    else //else input data is -1
    for(i=0;i<20;i++)
    {
    bpsk_signal[j] = -1*carrier[i];
    j++;
    }
    if(j>199)
    j=0;
    }
    }
    }