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.

CCSv5.4 and Bluetopia

Hello,

I am having a very difficult time getting Bluetopia sample projects to compile under CCSv5.4.

I have worked through the imported link issues and CCS now finds the include files.  However, I am now left with several 'No rule to make target..' errors and then follows an improper file path.

I imported these sample projects according to the instructions in Bluetopia docs, using the 'import existing CCS Eclipse project' on the menu bar.

A couple of questions:

1) These paths (in the makefiles)  are automatically generated during the import process.  Was there a step at which I could have caught this issue and forced the correct paths?

2) What settings can I now change in the project settings to correct these paths in the makefiles?

One last thing - I am getting a warning the the project was created using a version of compiler that is not currently installed.  Is this an issue?  The project seems to be calling for version 4.0 compiler, while I have 4.1.5 & 6 installed.  Not sure if I can just ignore this warning.

Thanks,

Mark Rush

  • Mark,

    Which device/board are you working with and what steps are you following to import the project? Have you tried importing into a new clean workspace?

    Demo examples provided with our software packages typicallly should not require any additional steps to build, and if they do, those would be documented in the docs/wiki pages. If you can refer me to the specific example you are trying to build and the docs you are referring to for the steps to import/build, I could see if I can reproduce the behavior.

    Mark Rush1 said:
    I am getting a warning the the project was created using a version of compiler that is not currently installed.  Is this an issue?  The project seems to be calling for version 4.0 compiler, while I have 4.1.5 & 6 installed.  Not sure if I can just ignore this warning.

    This should be ok to ignore. CCS will default to using the compile version that comes with it (which, in this case, is newer than the version the original project was created with).

  • I discovered the cause of my main complaint.  None of the imported sample projects would compile.  The error was "No rule to make target `..." for all of the source files.

    I discovered that if I do not select the 'Copy projects into workspace', everything compiles fine.

    Is this a CCS issue that it does not correctly re-reference files after copying the project?  Or is it an issue with these sample projects.

    I've never had this problem before.

  • Some example projects are not designed to be copied to workspace because they have not been created to be "portable". Because of the way CCS treats "linked" resources special steps have to be taken when creating projects in order to make them portable. Usually the documents accompanying software packages will specify whether to copy the projects to workspace or not when importing. However, I'm not sure if they specify this in the docs for the Bluetopia projects.

  • Ok.

    I think that gives me some more things to worry about.

    In the past, when I've imported some sample project, I always 'copied' files and resources into my working project, believing that by doing so, I brought everything into the (document controlled) project that I would need to port to my hardware.

    Now, I think I am going to have to manually search through the link files and makefiles to ensure I've captured all the files and resources I need to place into document control.

    Am I right?

  • When you "copy project to workspace" only the resources that reside in the proejct folder will be copied to the new project location. If the project has other resources that are "linked" then those will not be copied over, but instead will continue to be referenced from their original location. If your intention is to physically copy all source files/resources then yes you would need to look through the linked resources and determine if you want to make copies of those also or not.