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.

Compile error

Has anyone encountered the following error message:

"No rule for make target"

I tried to compile my project and this error occurs and CCS says that it needs an output file.  What does this error mean?

lj

 

  • Hi lj,

    CCS uses a make file to build your project, herein it compiles all the source, header and linker files and corresponding libraries (depending on your build options) and generates the .out file.

    The error "No rule for make target" indicates that the relative path of one of your files does not exist or it cannot find one of the files or you may have selected the wrong processor to work with at two different locations due to which it says that there is no rule to make the target..

    You can try to find the faulty file yourselves or post the entire error message here.

    Regards,

    Sid

    [ed RP]

  • Hi Sid,

    Thanks for your response.  The entire error message is

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** No rule to make target `C:/WORK/c6000/bios/lib/csl6713.lib', needed by `C:/WORK/examples/sine8_LED/Debug/sine8_LED.out'.

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** No rule to make target `C:/WORK/c6000/dsk6713/lib/dsk6713bsl.lib', needed by `C:/WORK/examples/sine8_LED/Debug/sine8_LED.out'.

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

    Build complete for project Sine8_LED

    Thanks.

    lj

  • Hi lj,

    There are 2 possible things -

    1. Either you havent included the path to the "csl6713.lib" and "dsk6713bsl.lib" in your linker (.cmd) file which gets build along with the project.

    2. Or you may have included the path, mentioned it in your build options, but it does not exist in that location, mainly due to some error in relative path used.

    Regards,

    Sid

  • Hi Sid,

    I fixed the problem.  I didn't include the .lib files in the path for my project, so  I just copied them to my project directory and recompiled the project.

    lj

     

  • Hi Lj,

    Good to know that you solved it. :)

    Regards,

    Sid