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.

CCS: File Not Found + Gmake: No Rule to Make Target

Other Parts Discussed in Thread: CC2564

Tool/software: Code Composer Studio

I am new to CCS and have been battling this issue for a couple hours now.

I am working on a personal project at home and downloaded the SDK for the MSP432 Launchpad + CC2564 Booster Pack. I am trying to get started with one of the sample bluetooth applications, "SPPDemo". I copied this program and support files to a separate directory, renamed the project to "AutoHackerApp", and set about updating the includes paths to get the project to build.

The error message I get is the coveted "gmake: *** No rule to make target" message:

Here it seems to be looking in the old directory location for the sample file, but when I click on the program file in project explorer it appears to be looking in the right location but can't find the file:

The directory it is looking in here should be correct:

And I have updated link and include path I could find in the build settings but am still having this issue.

Thanks in advance for the assistance.

  • Hello Robert,

    path to BTPSKRNL.c includes spaces.
    Eclipse comes from old UNIX/Linux world and many tools used by Eclipse do not work having spaces in paths.

    <<< I copied this program and support files to a separate directory, renamed the project to "AutoHackerApp", and set about updating the includes paths to get the project to build.
    Try to import a needed project from your original installation dirs. Coping and renaming could destroy relative paths between products, libs and examples.
  • Robert,

    It seems the project you have is using Virtual Folders, which may complicate things a bit when trying to solve all these paths.

    A practical approach to export a project with all its explicit dependencies (either physically present on the original project or linked) is to use the method below:
    software-dl.ti.com/.../ccs_project-management.html

    I think that will greatly help you overcome the issues you are having at this point.

    Hope this helps,
    Rafael
  • Hello Robert and Desouza,

    do like this:

    That makes the trick!
    Having CCS8.2, v16.9.9.LTS compiler I was able to build the demo you need without problems.

    Good luck!

    P.S.
    I did 1K+ responses on e2e, I have resolved 200+ issues,
    no other issue cost me so much time.
    Really glad could learn and help!

  • Thank you Rafael, I will look into this. In the mean time I have just copied the original sample files into the same parent directory and renamed the project and this has worked for me. Consider this issue resolved.