2022-04-13 12:55 PM
2022-04-19 03:38 AM
Hi,
If you click "build" then the build system will perform an incremental build by comparing if any files have been updated since the last build invocation. If so, only re-build those files and link the elf-file.
So the question is then: Did you make a change to any of the files before taking the first screenshot? If not, the tool is doing the right thing.
If you click menu Project > Clean, then you are asked whether to clean (and build?) the selected project or all projects in your workspace. Quite useless option for STM32 developement. I think this menu is a heritage from Java development or some other domain...
In general I would use the build toolbar icon or right-click on the project for build/clean as better options.
But since you say that you only have this project open in your current workspace, the issue should not be related to multiple projects being built or other issues...
It is hard to make any conclusions given this information. The screenshot shows:
Attach the full build log if possible.
Maybe you could also try to disable parallel build to see if this fixes the issue?
2022-04-14 06:43 AM
Do you have multiple projects open, perhaps? Show the error message screenshot as well as the successful build message screenshot.
2022-04-14 08:06 AM
Hello, thank-you for the response. I actually only have the one project opened. The files are being ported from another project so you know. The CubeIDE works fine if I build a generic project from scratch. It's the porting process somehow is doing it? I have attached some screen shots. I also noticed that the .elf file is not being updated maybe because it's not really compiling completely?
2022-04-19 03:38 AM
Hi,
If you click "build" then the build system will perform an incremental build by comparing if any files have been updated since the last build invocation. If so, only re-build those files and link the elf-file.
So the question is then: Did you make a change to any of the files before taking the first screenshot? If not, the tool is doing the right thing.
If you click menu Project > Clean, then you are asked whether to clean (and build?) the selected project or all projects in your workspace. Quite useless option for STM32 developement. I think this menu is a heritage from Java development or some other domain...
In general I would use the build toolbar icon or right-click on the project for build/clean as better options.
But since you say that you only have this project open in your current workspace, the issue should not be related to multiple projects being built or other issues...
It is hard to make any conclusions given this information. The screenshot shows:
Attach the full build log if possible.
Maybe you could also try to disable parallel build to see if this fixes the issue?
2022-04-19 04:58 AM
Yes, that makes perfect sense.
I didn't make any changes and that's why it didn't show any problems on the second build but did show problems on the rebuild. Thanks for the help,
Jim....