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/TMS320F28335: Target `main-build' not remade because of errors.

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I just started having issues rebuilding my code this afternoon.  It was building fine before lunch.  I'm using CCS Version: 6.1.1.00022, XDC tools version 3.25.4.88 and BIOS version 6.35.5.54.

The output I am getting is as follows:

**** Build of configuration Debug_HW1v5 for project Sensor_Interface ****

Nothing to generate
' '
gmake[1]: Target `main-build' not remade because of errors.
gmake: *** [all] Error 2

**** Build Finished ****

This started happening after I told it to do a clean and rebuild.

I've tried the following things I have found on the forums already

1. Rebuild the project.

2. Delete the Debug directory (in my case Debug_HW11v5).

3.  Disable the antivirus.

Even after doing all these things the issue continued.  Any ideas on what could be causing the problem and how to get my project to build properly.

  • Jim Woodward81 said:
    It was building fine before lunch.

    Was it this same build configuration (Debug_HW1v5) that was building fine earlier?

    Is the error specific to this project? Are you able to build other projects ok?

    Do the project metadata files (.*project) and build config directory (Debug_HW1v5) have write permissions?

    Finally if you're unable to track down the issue, would you be willing to share the project with us to see if we can reproduce the issue? 

  • Yes it was the same configuration that was building fine earlier.

    I have another project tin the workspace that can build fine, but a third project in the workspace gets this message:

    **** Build of configuration Debug for project micropulse-directional ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    gmake: Nothing to be done for `all'.

    **** Build Finished ****

    The project metadata files and build config directory do have write permissions.

    I'd be willing to share the project but would prefer to send it direct to someone at TI instead of posting it on the forum.

  • We get this problem occasionally in CCS6. For us it is caused by using Project->Build All. The cure for us is to select one project and build it, and then it works for Build All again.

    Lloyd
  • Actually I did a Build All right before things stopped working.
  • Actually that's incorrect - I did a Clean Project right before all this started happening. When I do a Build All I get the same error message.
  • I just tried going back to a previous version of my project from Git and also one from a different branch and had the same issue with both.
  • Also another firmware engineer here tried to build the project on her computer and had the same issue. It is the one she was working on and previously built fine - it is not a copy from my computer.
  • Jim Woodward81 said:
    I'd be willing to share the project but would prefer to send it direct to someone at TI instead of posting it on the forum.

    I will send you a friend request. After you accept it, we can start a private conversation and you can share your project directly with me.

  • This issue was worked offline.

    In summary, there were a few issues with the project options that were first addressed. After that, an XDC build error like this still remained.

    **** Build of configuration Debug_HW1v5 for project Sensor_Interface ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k -j 4 all 
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/bios_6_35_05_54/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28335 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.2.11" --compileOptions "-g --optimize_with_debug" -v "../app.cfg"
    C:/ti/xdctools_3_25_04_88/packages/xdc/bld/xdc_rules.mak:307: *** Error: Specified build configuration file '' is not found. Stop.
    js: "C:/ti/xdctools_3_25_04_88/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    This error was resolved by rebooting the PC as suggested in this post.