2024-10-08 08:58 PM - edited 2024-10-09 07:46 AM
I created a new project for my Nucleo board using STM32CubeMx 6.12.1. In the project manager settings, I have chosen STM32CubeIDE. Generate Under Root option is checked. When I click on "Generate Code", the .cproject file is not created. But .mxproject and .osx project files are created. I do get an error pop up during code generation saying "
The Eclipse executable launcher was unable to locate its
companion shared library."
Is this popup the cause of the error ?
2024-10-09 02:22 AM
Hello @pkasbekar and welcome to the community,
Could you please share your ioc file?
2024-10-09 07:45 AM
@SofLit ,Shared!
2024-10-19 05:57 AM - edited 2024-10-19 05:59 AM
I had the exact same issue. "Unable to locate companion shared library" when generating code in CubeMX on MacOS.
Turns out the latest version of CubeMX is just flat out broken. Downgraded two versions back and it works fine.
Incidentally, the latest version of CubeProg is also flat out broken on Linux, and once again, downgrading two versions back fixed the issue.
I did not try downgrading only one version back, so it's possible that downgrading one version would fix it too.
2024-10-21 01:56 AM
Hello @pkasbekar and sorry as I missed your reply,
@pkasbekar , @NullPointerException ,
Are you using these MacOS versions?
From STM32CubeMX V6.12.1 release note:
2024-10-26 04:42 PM
@SofLit , .I am sorry for replying too late. macOS14.6.1 on Mac M2.
2024-10-31 07:50 PM
Sorry for the late reply - I'm running MacOS 13.1, with an Intel CPU
2024-10-31 07:51 PM
@pkasbekar Can you confirm if downgrading fixes the issue for you as well?