stm32cubeide 1.9.0: Error: Program "make" not found in PATH
Fresh install of stm32cube1.9.0 (onto a Windows 10 64-bit system). This older-than-current version needs to be used (at least at first) to avoid issues in resurrecting an old project (from when1.9.0 was current).
The default install path (from the application's installer) was overridden (to C:\ST\STM32CubeIDE_1.9.0\).
I believe I am having a problem with the internal (to STM32CUBEIDE) value assigned to it's PATH variable (see below), however, I do not know how to update this internal PATH value to help the IDE find make.exe (which was installed in the system during the installation of the IDE overall.)
A small (C-language) test program was created and an attempt made to build it, resulting in the following error:
-----------------------------------------------------------------------------------------
12:06:22 **** Build of configuration Debug for project test1 ****
make all
Cannot run program "make": Launching failed
Error: Program "make" not found in PATH
PATH=[C:/ST/STM32CubeIDE_1.9.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_2.1.0.202111292251/jre/bin/server;C:/ST/STM32CubeIDE_1.9.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_2.1.0.202111292251/jre/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;;C:\ST\STM32CubeIDE_1.9.0\STM32CubeIDE]
(although I am not sure how the IDE relies on this PATH variable - displayed alongside the error message in the console - I do not see the path to the installed copy of make.exe included).
-----------------------------------------------------------------------------------------
make.exe was located in the directory tree below which the new install of stm32cubeide 1.9.0 was installed:
Directory of C:\ST\STM32CubeIDE_1.9.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.0.100.202202231230\tools\bin
03/02/2022 02:54 AM 1,139,600 make.exe
-----------------------------------------------------------------------------------------
windows %PATH% variable includes a path to make.exe, however, it does not appear that the IDE relies on this:
C:\ST\STM32CubeIDE_1.9.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.0.100.202202231230\tools\bin>echo %PATH%
(other path entry removed)
C:\ST\STM32CubeIDE_1.9.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.0.100.202202231230\tools\bin>
-----------------------------------------------------------------------------------------
As it's been a long time (evidently, since about 2022!) that I have used stm32cubeide, I do not recall where/how to correct this sort of PATH issue.
Thanks for any assistance (and while I appreciate recommendation to update to current version, I am specifically avoiding this resolution as I do not wish to jeopardize a project that was developed (then archived) while 1.9.0 was current --- thank you!)
Any request for clarification of this problem statement will be cheerfully fulfilled.
Thank you
