cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 CubeMX - Generate Code fails on a Mac (Apple Silicon)

fabltd
Associate III

Hi All

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

The Eclipse executable launcher was unable to locate its

companion shared library.

Any one come accross this and any idea how to fix?

 

9 REPLIES 9
SofLit
ST Employee

Approximately the same issue as :https://community.st.com/t5/stm32cubemx-mcus/cubemx-fails-to-generate-project-on-apple-silicon/td-p/728310

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

Hi 

No solution offered. The reply askes for a windows path?

The reply askes for a windows path?

Not quite. Just provide any relevant log that you have on your Mac.

By the way, the Windows path. A Windows PC with trusted and powerful x64 platform provides best experience for Cube* tools. You just stay productive and hassle free most of the time.

 

Hi

This is a windows path C:\Users\XXXXX\STM32CubeIDE\workspace_1.16.1\.metadata? 

No C: on a mac.

The mac path is simular and the contents of the file are:

Fri Oct 25 16:43:22 BST 2024

org.eclipse.core.runtime=2

org.eclipse.platform=4.30.0.v20231201-0110

 

Deleting the metadata file also makes no difference to the error.

Should the be a seperate file for MX the path was for the IDE

".metadata" is a directory. In this directory, look for files ".log"  and ".ide.log"

 

fabltd
Associate III

I can see the files but what am I looking for?

fabltd
Associate III

When I remove .log and .ide.log they are not recreated by STM32 Cube MX. 

This directory only gets updated by the IDE and not STM32 Cube MX from what I can see?

fabltd
Associate III

Screenshot 2024-10-25 at 18.34.12.png

 

If I change the tool chain from STM32CubeIDE to for example EWARM the error is not present.