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: Errors running builder 'CDT Builder' on project and gmake: *** No rule to make target 'clean'.

Other Parts Discussed in Thread: UCD3138128, UCD3138, UCD3138064, UCD3138A64

Tool/software: Code Composer Studio

Hello,

I am using  Code composer Version: 6.1.3.00033  to build the UCD3138128 code.

When loaded the project it says

This project was created using a version of compiler that is not currently installed: 5.1.8 [ARM].
Please go to <a href="liveaction:OpenAppCenter">CCS App Center</a> to install the compiler of this version,
or migrate the project to one of the available compiler versions by adjusting project properties.

I have managed to download the  ARM veriosn 5.1.8 and link it. still it  throw the below error  when given a build

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean 

gmake: *** No rule to make target 'clean'.

**** Build Finished ****

Also throw  below error in a pop up window

"Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'ec_nextgen_ucd'.
java.lang.NullPointerException"

  • Shanish,

    Is this an example project provided by TI or your own custom project? Do you know which version of CCS was originally used to create the project?

    Have you tried building the project with a newer version of CCS (CCSv7 or CCSv8)?

  • Not sure about the version of CCS used to create the project.It looks like the project is created in CCS v 6.0 with arm compiler 5.1.8.
    I tried building with newer version , but resulted the same\
  • Would you be willing to share the project so we can reproduce the error and investigate it? You can zip up the project folder and attach it here or if you prefer to share it privately, please start a private conversation with me (you should be able to do that by hovering over my Forum Username).
  • Sorry, I wont be able to share the project file as it is private to us
  • I tried creating a new CCS project instead of importing the existing one. there were so many linker issues due to header file inclusion. I could resolve all except 2 things which is due to the variable defined under #ifdef UCD3138128, the problem now is I am not able to configure /select my controller specific, so that this error is popping up
    #20 identifier "program_index" is undefined ( in code this is defined under \
    #ifdef UCD3138
    register Uint32 * program_index = (Uint32 *) 0x19000; /* store destination address for program */ /* PRQA S 0306 */
    #elif UCD3138064 /*PRQA S 3332*/
    register Uint32 * program_index = (Uint32 *) 0x69000; /* store destination address for program */ /* PRQA S 0306 */
    #elif UCD3138128
    register Uint32 * program_index = (Uint32 *) 0x6a000; /* store destination address for program */ /* PRQA S 0306 */
    #elif UCD3138A64
    register Uint32 * program_index = (Uint32 *) 0x6a000; /* store destination address for program */ /* PRQA S 0306 */
    #endif

    But now I am not able to select the controller configuration if I create a new project, else if I am importing a project, there is no such issue.. but the gmake error will come

    could you please help me in guide ing " How to add the controller" Now instead of controller , the drop dowm menu have 2 option" debug and release"
  • Try defining the symbol under Project Properties->Build->Compiler->Predefined Symbols. 

    You could take a look at the project options of the original project to see which ones need to be added to the new project. Be sure to check both compiler and linker options. 

  • what is the format to add the predefined symbol
  • Sorry about the delay, I seem to have missed your reply.

    To define a symbol, simply add it to the predefined symbol list under Project Properties->Build->Compiler->Predefined Symbols. You can click the + icon to add more symbols or x icon to remove existing ones.