cancel
Showing results for 
Search instead for 
Did you mean: 

Build Failed. 1 errors: Cannot run program "make": Launching failed

XooM
Senior
18:15:49 **** Incremental Build of configuration Default for project STM32F100C6T6B ****

make all

Cannot run program "make": Launching failed



Error: Program "make" not found in PATH

PATH=[C:/ST/STM32CubeIDE_2.1.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.200.202601091518/jre/bin/server;C:/ST/STM32CubeIDE_2.1.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.200.202601091518/jre/bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Users\tunca\AppData\Local\Microsoft\WindowsApps;C:\ST\STM32CubeIDE_2.1.0\STM32CubeIDE]



18:15:49 Build Failed. 1 errors, 0 warnings. (took 142ms)

I prepared my project in version 1.19. At work, I opened it in version 2.0 and compiled it once.
Now I can't open it on my home computer.
I installed version 2.1.0 on my home computer, but I'm still getting errors. How can I continue with my project?

7 REPLIES 7
Andrew Neil
Super User

This is the 1 error:

Cannot run program "make": Launching failed

 

make is the tool used to do the build - it's what decides which files need to be rebuilt.

The message is telling you that make is not (properly) installed.

So something is wrong with your installation - try uninstalling and reinstalling.

 


@XooM wrote:
Now I can't open it on my home computer.

What do you mean by "it" here - CubeIDE, or your Project ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

i cant open my project by using CubeIDE..

21:01:16 **** Incremental Build of configuration Default for project STM32F100C6T6B ****
make all 
Cannot run program "make": Launching failed

Error: Program "make" not found in PATH
PATH=[C:/ST/STM32CubeIDE_2.1.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.200.202601091518/jre/bin/server;C:/ST/STM32CubeIDE_2.1.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.200.202601091518/jre/bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Users\tunca\AppData\Local\Microsoft\WindowsApps;C:\ST\STM32CubeIDE_2.1.0\STM32CubeIDE]

21:01:16 Build Failed. 1 errors, 0 warnings. (took 107ms)

 


@XooM wrote:

i cant open my project by using CubeIDE..


What you show there is nothing to do with opening the project; that's an error with building the project - you can't get that before the project has been successfully opened.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
XooM
Senior

I have a few questions regarding STM32CubeIDE, and I want to make sure I understand the behavior before posting them on the forums.

I was working on a project with STM32CubeIDE version 1.19, and it was running perfectly. Recently, I opened and compiled the same project in version 2.1.0.

Question 1:
If I compile my code with the new version and upload it to my previously stable board, is there a chance that it might behave differently or become unstable? I haven’t changed any of the code itself — only opened and built it in the latest version of STM32CubeIDE.

Question 2:
I cannot find the optimization settings for the STM32F100C6T6 in STM32CubeIDE 2.1.0. Where can I locate them?

Question 3:
In STM32CubeIDE 1.19, I compiled my project with the -Ofast optimization and generated the .hex file. In version 2.1.0, I cannot figure out how to change the optimization settings. How can I set -Ofast in the new IDE?

 

aas.PNG

TDK
Super User

> I have a few questions regarding STM32CubeIDE, and I want to make sure I understand the behavior before posting them on the forums.

???

 

Projects don't corrupt themselves spontaneously.

It looks like your project is not properly configured. Probably it was imported wrong. Perhaps start with a new project and copy code over.

Your post is lacking in detail. You created a project on one computer, it works, then you're opening on another. How? Projects must be imported correctly. Opening the .project file works.

 

This has nothing to do with the STM32CubeIDE version. I suggest debugging as if it were a project issue rather than a STM32CubeIDE version issue.

If you feel a post has answered your question, please click "Accept as Solution".
Pavel A.
Super User

> PATH=[C:/ST/STM32CubeIDE_2.1.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4

Of course, since your CubeIDE version on the home computer is 1.19, the path above is invalid.

Compare the .project and .cproject files after building on the other PC vs. state before. Find the diffs and revert bad diffs.

/* If you have not saved the project state before moving to the other PC (made a backup or used github or other version control) - you've just received a valuable lesson */

 

The project options on your screenshot of CubeIDE 2.1.0 do not look good. The tools settings for the compiler and linker are missing. Something got broken. Try to refresh the project.