Skip to main content
Lars Beiderbecke
Senior III
July 27, 2021
Solved

CubeIDE cannot clean project

  • July 27, 2021
  • 1 reply
  • 2721 views

I've just now switched from TrueSTUDIO to CubeIDE 1.7.0, and when I tried to clean the project by selecting Project -> Clean ... from the menu, I got an error message:

19:26:52 **** Clean-only build of configuration Debug for project xx ****
make clean 
make: *** No rule to make target 'clean'. Stop.
"make clean" terminated with exit code 2. Build might be incomplete.
19:26:53 Build Failed. 1 errors, 0 warnings. (took 116ms)

Why did CubeIDE not migrate that correctly, and how can I fix this?

This topic has been closed for replies.
Best answer by Lars Beiderbecke

Yes, I did it wrong. I reused the workspace of TrueSTUDIO, which did not make me import things, and which broke various controls.

When I start CubeIDE in a blank workspace, I can import the project and everything seems to work alright. The only thing that seems missing are the scripts for Run and Debug configurations, but maybe they're not needed any more.

1 reply

Pavel A.
Super User
July 27, 2021

Does the project build after that? If yes, ignore the clean error.

Lars Beiderbecke
Senior III
July 28, 2021

Sorry, good question, but the answer is no.

Even if I change my code (e.g., by commenting out a line), Ctrl-B yields

**** Build of configuration Debug for project xx ****
 
Nothing to build for project xx

Lars Beiderbecke
Senior III
July 28, 2021

Never mind, I deinstalled CubeIDE again, as it cannot import a TrueSTUDIO project without breaking things.