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.

Enable print out of post-build steps

Other Parts Discussed in Thread: TMS320F28023

Hi,

I'm using the CCSv4.2.3.00004. I'have now a problem in the post-build steps (see print screen).The project compiles on my machine but if I compile the project on another machine it fails.

It would be helpfull if I had some more information during the post-build steps. Is there a way to enable a print out of the post build steps?

Kind regards

Matt

  • Hi Matt,

    it does not look like your screen capture/attachment worked, could you please retry?  Also, would you be able to provide a few more details?  what ccs version is on the other pc?  What target are you using?  How did you move the project between pcs?

    Best Regards,

    Lisa

  • Hi Lisa

    Here the print screen that doesn't come with my first post:

    An here you find the console output of the working one:

    The CCS version is the same on both PCs.

    The target is the TMS320F28023.

    A difference I have is the operating system, Win7 is okay, XP has the failure. But I guess it's not the operating system where the error comes from.

    I'm using SVN. The project is so moved by the svn server, with a fresh checkout at first and later by updates.

    Today I checked the environment variables. Because we are wondering about the different calls (gmake or dmake). On the failing machine XDStool were installed and because of that the path environment variable is set to "%XDCROOT%". What I will try is to remove this entry. Where are this different gmake or dmake calls (see printscreens) coming from?

    Kind regards

    Matt

  • Hi Matt,

    Matt said:
    A difference I have is the operating system, Win7 is okay, XP has the failure. But I guess it's not the operating system where the error comes from.

    Actually the OS can make a big difference. That is because post-build steps are simply passed to the OS to execute.

    Please provide a screenshot of how exactly the commands are set up. Basically I am asking for the project properties -> build -> steps

    Thanks

    ki

  • Hi Ki

    I had the commands as well in supspicion. Because of that I removed my normal command in the post-build steps and replaced it by the 'dir' command. Which result in the same error.

    Further information. This project I had copied and added and adapted the build configurations. Maybe something get wrong in the project file. But what makes me insecure is the fact, that the same project does run on one machine. But I'm getting despretated, so I'm thinking about creating the project new.

    Kind regards

    Matt

  • try adding 'cmd /c' in from of your step.

    For example:

    > cmd /c dir

  • Hi Ki

    I tried your suggestion but it doesn't change anything.

    If you study the printscreens above one difference looks intresting. Last cmd before error appear is different. But this command is called from CCS I guess I can't influence it.

    Ok one has:

    D:/Programme/CCS4/ccsv4/utils/gmake/gmake --no-print-directory post-build

    Failde one has:

    D:\Libs\3rdparty\precise\dmake\dmake -B -E --no-print-directory post-build

    Regards,

    Matt

  • Matt,

    Please provide screenshots of how the commands are entered in the build properties.

    Basically i want to see screenshots of your project properties post-build steps

  • Hi Ki

    Here the wished PrintScreen:

    Regards,

    Matt

  • What I want to know is where is dmake being called from. It's not CCS. There must be some post build step but I don't see it in your screenshot.

  • This dmake call is in fact strange. You say it's not coming from CCS, but I have no idea where it then should come from. I have on this machine other CCS projects that do work, also with post-buld-steps.

    Could it come from a defect project file?

    What would you recommend to do (set up completly new project, ...)? Any Idea?

  • Please attach the project metadata files (.project, .cproject, .ccsproject). I may be able to find some clues in there.

  • Hi Ki

    Thanks for your offer to look at the project metadata files.

    Today I decided to change to the CCSv5 because this task was hanging about some days. Before I also tried to create a new CCSv4 project that didn't work as well.

    I had already some projects running with CCSv5 so the switch was done very easy for me. Now the problem is solved, project runs on both machines.

    Anyway thanks for your help

    Matt

  • Glad to hear that you resolved the issue by going to v5. Maybe there was some strange bug in v4 that got resolved in v5. Anyway thanks for the update.

    ki