2023-02-06 07:30 PM
I get the following error when I attempt to Build or Clean any project.
21:36:49 **** Build of configuration Debug for project BLE_HeartRate ****
make -j12 all
"make -j12 all" terminated with exit code -1073741515. Build might be incomplete.
21:36:50 Build Finished. 0 errors, 0 warnings. (took 235ms)
This is now occurring on multiple projects that previously built. It initially occurred in STM32CubeIDE 1.10. I upgraded to 1.11 and also did a complete uninstall & reinstall. I then generated BLE_HeartRate for the STM32WB-DK board in a new workspace.
Are there any configuration files in hidden directories or in the Windows 11 Registry that could be corrupted?
2023-02-08 08:07 AM
It appears that this problem started when I imported a makefile project and set the Builder type to External Builder for that project. Somehow, the setting persisted globally and other projects in other workspaces are now set to External Builder. This includes the new BLE_HeartRate project that I generated after uninstalling & re-installing STM32CubeIDE.
2023-02-08 10:27 AM
So have you tried the internal builder instead?
2023-02-08 10:56 AM
Yes, switching to the internal builder resolves the issue. I assumed that it was the default configuration, but I now when I build, I see an info message, which I had not noticed previously, indicating that the internal builder is being used. So I have a working solution, but the root cause of the problem is still a mystery.
2023-02-10 06:30 AM
This is why I prefer the internal builder, it is more robust to various issues. Though, it has some bugs (for one, it skips post-build actions defined in the IDE.).
> "make -j12 all" terminated with exit code -1073741515
Maybe the make that CubeIDE runs with external builder is not it's own but something else on path