cancel
Showing results for 
Search instead for 
Did you mean: 

Can't build existing projects after upgrading Cube IDE

TJack.2
Associate III

I've just upgraded from Cube IDE 1.15 to 1.17.0 under Ubuntu 22.04 using the 'check for updates' feature.

When I try to rebuild (right click in project explorer and click 'build project') any of my existing projects I just get a message such as below. It doesn't actually compile anything.

 

 

3 REPLIES 3

Did you attach the right file?

The attached file seems to be from CubeProgrammer - not CubeIDE - and show problems with programming - not building?

TJack.2
Associate III

Yes, wrong file, I've corrected it.

TJack.2
Associate III

I don't want to confuse things, only to deal with one problem at a time.  But here's the back story.

The plan was to upgrade an old PCB design from a 7-segment LCD to a graphics display.  So I bought a Nucleo STM32G071RB and a X_NUCLEAO-GFX01M2 display, and downloaded the demonstration software "GFX01M2_HelloWorld" which I imported into my working CubeIDE1.15.1 with a view to using that as the basis for experiment.  Simple, right?

Not so simple. It built OK, upgraded the ST-Link but wouldn't flash the board, giving an MI error erasing the second bank.  Am I doing something silly?  I read the comments here, tried various things, and ended up doing "check for upgrades" on the IDE.  That upgraded it to 1.17.0.  I know, that was a *** mistake, doing that on my production machine, but there it is.  So that went from bad to worse, it wouldn't build at all, on any existing project, as indicated above.  So to compound my mistake, I then clicked on 'revert' in the installation history.  That did its stuff but seems to have given me an invalid config.ini file and now the IDE won't even start.  Looks like a clean install is the order of the day.

I'll worry later about the fact that the demonstration system failed right out of the box.