2021-07-27 10:32 AM
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?
Solved! Go to Solution.
2021-07-28 10:46 AM
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.
2021-07-27 02:01 PM
Does the project build after that? If yes, ignore the clean error.
2021-07-28 08:30 AM
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
2021-07-28 09:18 AM
Never mind, I deinstalled CubeIDE again, as it cannot import a TrueSTUDIO project without breaking things.
2021-07-28 10:17 AM
@Lars Beiderbecke kind of pity ... myself TrueStudio import works like a charm since STM32CubeIDE day0. Still if 1.7.0.
How do you import TrueStudio project ?????
"File > Open Project From File System" or "File > Import > General > Import Atollic TrueStudio" are both way to do. Any other is not suitable.
Works 2 clicks like a charm what's by the way not so surprising moving from an Eclipse based proposal to another.
I've got a try to only "File > Import > General > Existing projects into workspace" such is leading to same behavior you're reporting:
Thinking not tool issue but usage one .... ;)
2021-07-28 10:46 AM
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.