Skip to main content
Associate
October 9, 2024
Question

STM32CubeMx 6.12.1 doesn't generate .cproject file on macOS

  • October 9, 2024
  • 2 replies
  • 3141 views

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 ?

2 replies

mƎALLEm
Technical Moderator
October 9, 2024

Hello @pkasbekar and welcome to the community,

Could you please share your ioc file?

"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."
pkasbekarAuthor
Associate
October 9, 2024

@mƎALLEm ,Shared!

mƎALLEm
Technical Moderator
October 21, 2024

Hello @pkasbekar  and sorry as I missed your reply,

@pkasbekar , @NullPointerException ,

Are you using these MacOS versions? 

From STM32CubeMX V6.12.1 release note:

SofLit_0-1729500896414.png

 

"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."
Visitor II
October 19, 2024

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.