ST意法半导体
直播中

杨帆

8年用户 1442经验值
私信 关注
[问答]

无法运行程序make

你好,


我安装了SPC5 Studio,一切正常,然后经过几个小时的工作后,我再也无法构建我的项目了。我总是得到以下错误,我不知道为什么:

make -j4 all

无法运行程序''make'':启动失败
12:30:14建成(耗时47ms)


我没有更改设置中的任何内容,仅使用安装后配置的SPC5 Studio。但这段错误似乎在一段时间后随机出现。所以我多次重新安装了SPC-Studio。安装后它再次工作,我能够建立我的项目。但是在处理我的代码时,一段时间后一次又一次地得到相同的错误。


这个错误随机出现的原因是什么?我使用的是High-Tec的30天评估许可证。

以上来自于谷歌翻译


以下为原文




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.

回帖(3)

袁钧质

2018-10-24 11:24:56
嗨,
 
 
 这是版本3.0中的已知问题,通常在发生这种情况时您只需重新启动SPC5Studio即可。
 
 问题原因是已知的(错误的环境变量设置,因此找不到make.exe),我们正在研究解决方案。该修复程序将照常通过SPC5Studio更新程序提供。
 
 解决方法是在PATH系统环境变量的开头手动添加以下路径:
 
 C: SPC5Studio 蚀插件 com.st.tools.spc5.tools.hightec_1.0.0.201306281422 克斯 PPC-HT-EABI  BIN; C: SPC5Studio 蚀插件 com.st.tools。 spc5.tools.hightec_1.0.0.201306281422 克斯 BIN; C: SPC5Studio 蚀插件 com.st.tools.spc5.tools.gnu_1.0.0.201306281422  gnutools;
 
 乔瓦尼

以上来自于谷歌翻译


以下为原文





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:SPC5Studioeclipsepluginscom.st.tools.spc5.tools.hightec_1.0.0.201306281422hightecppc-ht-eabibin;C:SPC5Studioeclipsepluginscom.st.tools.spc5.tools.hightec_1.0.0.201306281422hightecbin;C:SPC5Studioeclipsepluginscom.st.tools.spc5.tools.gnu_1.0.0.201306281422gnutools;

Giovanni
举报

刘鑫

2018-10-24 11:40:05
你好Patrick,
 
您可以在第2章中的附件中找到如何恢复正确的CDT环境的解决方案。
 
 最好的祝福
 
 Erwan Yvin

以上来自于谷歌翻译


以下为原文







Hello Patrick ,

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

Best regards

                     Erwan Yvin
举报

杨帆

2018-10-24 11:49:35
你好,
 
 
 谢谢你们的帮助。当错误再次出现时,我将尝试这些变通方法。
 
 最好的祝福,
 帕特里克

以上来自于谷歌翻译


以下为原文





Hello,


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

Best regards,
Patrik
举报

更多回帖

发帖
×
20
完善资料,
赚取积分