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.

Command-line error: invalid macro undefinition: C:/c6713/C6000/dsk6713/include

Other Parts Discussed in Thread: CCSTUDIO

I am trying to create a program sin8_LED with the TMS320C6713 starter kit. I am getting the following error:

----------------------------  Sin8_LED.pjt - Debug  ----------------------------
[c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/c6713/myprojects/Sin8_LED/Debug" -d"CHIP_6713" -u"C:/c6713/C6000/dsk6713/include" -mv6710 --mem_model:data=far -@"../../c6713/myprojects/Sin8_LED/Debug.lkf" "c6713dskinit.c"
Command-line error: invalid macro undefinition: C:/c6713/C6000/dsk6713/include
1 fatal error detected in the compilation of "c6713dskinit.c".
Compilation terminated.

>> Compilation failure

[Vectors_poll.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/c6713/myprojects/Sin8_LED/Debug" -d"CHIP_6713" -u"C:/c6713/C6000/dsk6713/include" -mv6710 --mem_model:data=far -@"../../c6713/myprojects/Sin8_LED/Debug.lkf" "Vectors_poll.asm"

[Sine8_LED.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/c6713/myprojects/Sin8_LED/Debug" -d"CHIP_6713" -u"C:/c6713/C6000/dsk6713/include" -mv6710 --mem_model:data=far -@"Debug.lkf" "Sine8_LED.c"
Command-line error: invalid macro undefinition: C:/c6713/C6000/dsk6713/include
1 fatal error detected in the compilation of "Sine8_LED.c".
Compilation terminated.

>> Compilation failure

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


But the program did not error this way before.

Please help..

  • murat gungor,

    The error message tells you exactly which thing was invalid:

    murat gungor said:
    Command-line error: invalid macro undefinition: C:/c6713/C6000/dsk6713/include

    If you look for this string in the command that is executed immediately above that error, you find this:

    murat gungor said:
    -u"C:/c6713/C6000/dsk6713/include"

    -u certainly seems like a command-line switch for doing an "undefinition". You can confirm this by looking in the Assembly Language Tools Reference Guide for your version of the tools. And I feel sure you did not mean to do that. This most likely a typo from manually typing whatever command-line switch you wanted to use for that string.

    Does this make sense to you? Will it help?

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • Hi Murat Gungor,

    Have you able to resolve your query? Please reply so that we can process to close the thread.

     

    Thanks,

    Ankit Agrawal

  • Hıı

    I  resolved my query.

    Thanks for everything...