Skip to main content
Patriks
Senior
July 24, 2014
Question

Cannot run program ''make''

  • July 24, 2014
  • 3 replies
  • 948 views
Posted on July 24, 2014 at 12:44

Hello,

I installed SPC5 Studio and everything works fine and then after a view hours of working, i can´t build my project any more. I am always getting following error and i don´t know why:

make -j4 all

Cannot run program ''make'': Launching failed

12:30:14 Build Finished (took 47ms)

I did not change anything in the settings, just using the SPC5 Studio as it is configured after the installation. But this error seems to come up randomly after a while. So i re-installed SPC-Studio several times. After the installation it worked again and I was able to build my projects. But during working on my code a get the same error again and again after a while.

What could be the reason for that error upcoming randomly? I am using the 30days evaluation license from High-Tec.

    This topic has been closed for replies.

    3 replies

    Nickname16641_O
    Visitor II
    July 24, 2014
    Posted on July 24, 2014 at 16:49

    Hi,

    It is a know problem in version 3.0, usually when this happens you just have to restart the SPC5Studio.

    The problem cause is known (wrong environment variables setup so make.exe is not found) and we are working on a solution. The fix will be delivered via the SPC5Studio updater as usual.

    A workaround is to add manually the following paths at the beginning of the PATH system environment variable:

    C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\ppc-ht-eabi\bin;C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\bin;C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools;

    Giovanni

    Erwan YVIN
    ST Employee
    July 25, 2014
    Posted on July 25, 2014 at 14:51

    Hello Patrick ,

    You can find in this attachment in chapter 2) a solutionhow to recover your correct CDT Environment.

    Best regards

    Erwan Yvin

    ________________

    Attachments :

    SPC5Studio_FAQ_configurations_issue_cx389511_1.0_D2.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qYP9&d=%2Fa%2F0X0000000boy%2FsWmcN7DTb5t5JaJKuZVqO7oc52hxQ.eVxrUgbjsKcEE&asPdf=false
    Patriks
    PatriksAuthor
    Senior
    July 27, 2014
    Posted on July 27, 2014 at 09:01

    Hello,

    Thank you both for your help. I will try these workarounds when the error raises again.

    Best regards,

    Patrik