cancel
Showing results for 
Search instead for 
Did you mean: 

Issues installing CubeMX on OSX Sierra

Sam F
Associate II
Posted on November 23, 2016 at 07:17

Hello all, has anyone successfully installed CubeMX 4.17.0 on Mac OSX Sierra (10.12.1)? Every time I doubleclick the install it just bounces and then nothing happens. Any suggestions?

#cubemx-macos-sierra
1 ACCEPTED SOLUTION

Accepted Solutions
Brian Khuu
Associate III
Posted on May 07, 2018 at 08:51

Solution Found For Those With macOS High Sierra

First open this macro file inside the zipped package  `

en.stm32cubemx

`. `./

en.stm32cubemx/SetupSTM32CubeMX-4.25.0.app/Contents/MacOs/

SetupSTM32CubeMX-4_25_0_macos

`, this will open the installer.

It will by default try to install to `

/usr/share/applications.

`. This is incorrect. You need to find your application directory.

```

MacBook-Pro:en.stm32cubemx briankhuu$ cd ~/Applications/

MacBook-Pro:Applications briankhuu$ pwd

/Users/briankhuu/Applications

```

In my case it was `

/Users/briankhuu/Applications

`, you can then modify the application install directory during the install prompts.

This will then successfully install CUBEmx in macOS High Sierra.

Hope it helps 

View solution in original post

8 REPLIES 8
slimen
Senior
Posted on November 23, 2016 at 10:04

Hello,

Refer to the

http://www.st.com/resource/en/user_manual/dm00104712.pdf

 user manual for STM32CubeMX and follow the steps/requirements for MacOS: Make sure you have administrators rights.

- Software requirements For MacOS, install Java Development Kit 1.7.0_45 or later.

Regards

Posted on November 23, 2016 at 21:48

Yes, you need to install Java. 

On Sierra it works great, less filling (actually just the same)
Sam F
Associate II
Posted on November 25, 2016 at 08:05

I have both Java Developer packages and admin rights on my machine but still no joy.  What did end up working for me though was to right-click on the .app installer and open up the package contents. Inside the MACOS folder there is a Setup...  binary file, double-clicked it and magically the terminal pops up with a install script and voila it installs, weird.  

Hope this helps someone else.

Victoria Leonard
Associate
Posted on December 06, 2016 at 03:21

I also had this problem on Sierra. Installed JDK, restarted, and the installer would quit without opening the wizard.

Ferguson.Samuel

has the result that worked for me. The second time I opened the binary in the terminal, the wizard opened, and I was able to install.

Posted on May 12, 2017 at 01:23

Thank you. This worked.

I am on macOS Sierra
Posted on May 19, 2017 at 09:59

I also saw that it worked only the 2nd time I launched it.

It did complain that it could not find /usr/share/applications.

Indeed that is a path which does not exist, and which the finder will not let me create.

Brian Khuu
Associate III
Posted on May 07, 2018 at 08:51

Solution Found For Those With macOS High Sierra

First open this macro file inside the zipped package  `

en.stm32cubemx

`. `./

en.stm32cubemx/SetupSTM32CubeMX-4.25.0.app/Contents/MacOs/

SetupSTM32CubeMX-4_25_0_macos

`, this will open the installer.

It will by default try to install to `

/usr/share/applications.

`. This is incorrect. You need to find your application directory.

```

MacBook-Pro:en.stm32cubemx briankhuu$ cd ~/Applications/

MacBook-Pro:Applications briankhuu$ pwd

/Users/briankhuu/Applications

```

In my case it was `

/Users/briankhuu/Applications

`, you can then modify the application install directory during the install prompts.

This will then successfully install CUBEmx in macOS High Sierra.

Hope it helps 

Posted on July 02, 2018 at 14:06

You are the best, thanks !