cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 CubeMX - Generate Code fails on a Mac

chairdeng
Associate II

Hi All

I have installed STM32 CubeMX on a Mac and I get the following error when trying to generate code:

The Eclipse executable launcher was unable to locate its companion shared library.截屏2024-12-01 18.42.46.png

31 REPLIES 31

Hello, there is still this problem on 6.4.0, this problem occurs when generating project files with STM32CubeIDE, but not with makefiles.

Hello,

after I clicked on "generate code" and want to open the project, I get a warning that "Python was unexpectedly closed". Im using macOS M4 (Sillicon) and the latest versions of IDE and MX. For the Toolchain I chose STM32CubeIDE. After I close the warning nothing happens.

Bildschirmfoto 2026-05-31 um 18.06.16.png

Thanks.