Skip to main content
MFend
Associate III
July 8, 2019
Solved

In the new STM32CubeIDE, the Eclipse buttons for Build, Rebuild (hammers) and Debug (a bug) are not shown.

  • July 8, 2019
  • 6 replies
  • 3628 views

How can I get these icons to appear?

I imported a project from Atollic TS.

Thanks,

Mechi

Best answer by Markus GIRDLAND

I believe I just answered you privately instead but I'll post the same here in case anyone is facing the same issue:

"Make sure you are in the C/C++ Perspective (top right) and if you still don't see it, try to go to "Window -> Perspective -> Reset perspective...". If that doesn't work I suspect something might have gone wrong with the installation, maybe?

As to the right click of the project, right under "Import" and "Export" should be "Build Project", which serves the same purpose as the "hammer" button does."

And to add to that, right under the "Build Project" is the "Clean Project".

6 replies

Markus GIRDLAND
ST Employee
July 9, 2019

We have a different toolbar in CubeIDE in comparison to TrueSTUDIO but the Build and Debug buttons should be showing by default.

The rebuild button is gone, though. You need to right click on your project and select "Clean Project" instead.

0690X000009YYu7QAG.png

MFend
MFendAuthor
Associate III
July 14, 2019

This is how my toolbar looks.

I can only build using the right-click on my project and choosing Build-all.

I think that the makefile or the build targets haven't been setup correctly.

I'd appreciate any ideas...

MFend
MFendAuthor
Associate III
July 14, 2019

0690X000009YiM0QAK.jpg

Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
July 15, 2019

I believe I just answered you privately instead but I'll post the same here in case anyone is facing the same issue:

"Make sure you are in the C/C++ Perspective (top right) and if you still don't see it, try to go to "Window -> Perspective -> Reset perspective...". If that doesn't work I suspect something might have gone wrong with the installation, maybe?

As to the right click of the project, right under "Import" and "Export" should be "Build Project", which serves the same purpose as the "hammer" button does."

And to add to that, right under the "Build Project" is the "Clean Project".

MFend
MFendAuthor
Associate III
July 16, 2019

Resetting the perspective worked!

Thanks!

SThie.1
Associate II
August 25, 2024

Additional info:

Had the same problem after updating to 1.16.0.

Resetting the perspective did not help in the first place.

I had to close and reopen the perspective after resetting the perspective.

After that the hammer is displayed again.

MFend
MFendAuthor
Associate III
July 16, 2019

OK - I see the hammer, but I haven't built a "Build target" - where are the instructions for building a "Build Target" so that the hammer will know what to build?

MFend
MFendAuthor
Associate III
July 16, 2019

I changed the Builder to Internal (it was external) - uses the same gcc compiler - and now the "hammer" builds the project!

Markus GIRDLAND
ST Employee
July 16, 2019

I'm not sure I understand the problem. The hammer icon is supposed to build the project. Do you have another use case in mind and if so, what is it?