2024-10-25 08:58 AM - last edited on 2024-10-25 09:30 AM by SofLit
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?
2024-10-25 09:32 AM
Approximately the same issue as :https://community.st.com/t5/stm32cubemx-mcus/cubemx-fails-to-generate-project-on-apple-silicon/td-p/728310
2024-10-25 09:39 AM
Hi
No solution offered. The reply askes for a windows path?
2024-10-25 09:45 AM - edited 2024-10-25 09:52 AM
> 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.
2024-10-25 09:49 AM
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
2024-10-25 09:52 AM
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
2024-10-25 10:01 AM
".metadata" is a directory. In this directory, look for files ".log" and ".ide.log"
2024-10-25 10:20 AM
I can see the files but what am I looking for?
2024-10-25 10:23 AM
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?
2024-10-25 10:35 AM
If I change the tool chain from STM32CubeIDE to for example EWARM the error is not present.