-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
false "file not found" errors during compile on STM32 #1677
Comments
The compile command make shows is "recipe.c.o.pattern" which is not correct. It looks to me as if Sloeber has not yet been able to initialize the project properly and therefore generates "wonky" build commands. |
Sometimes it happens that I get this error two or more times in a row before I get a successful build. on the other hand, I wanted to test V5 for a while, maybe this is a good opportunity |
There is still no migration from V4 to V5, there will never be a migration from V5 to V4 and V5 is still in gamma. So unless you are capable of creating a setup you that allows you to relatively easily switch between V4 and V5 I would not move my "production" code to V5. |
yes, read about that somewhere... |
It is possible but unlikely. |
I now can confirm, that after a successful build, I can do several clean builds without the error occurring. Did this 4 times in a row, always deleting the build folder (and patiently waiting 3:30 minutes because on windows the STM32core is really, really slow. Same code on a comparable Linux machine takes about 20s to compile ...) I then went to sloeber properties and clicked apply ... compiled without error - twice all this without change to the properties or any change to the code small changes to the code or change to optimization settings in the sloeber project-properties dialog did not trigger the error as well only other change: I upgraded STM32core from 2.7.1 to 2.8.1, had them both installed for a while and now have removed 2.7.1 so I reinstalled 2.7.1 and have both again - no error Seems that starting with the moment I decided to systematically try to reproduce it, it just doesn't happen again :( |
I know the feeling. 😃 |
Now I can confirm that it does happen without opening the properties dialog. |
Yesterday I was working in Sloeber V4 to prepare for migration code development and I had this exact same issue with an Arduino mega. Simply trying to build again and it worked fine. |
some similarity then: 12 cores here as well and parallel build for all of them enabled |
The problem happens before the parallel build even starts |
I dont think this issue is platform-dependant, but nevertheless I thought I'd share that I have it on ESP32 platform as well |
I stated I experienced this with a mega. |
During compile, it sometimes happens that there is one or more "file not found" error.
But if I rebuild the same project immediately, there are no more errors.
I checked, and the .o files are in fact not there.
This is quite a big project with >100 files and I use parallel build.
It happens way more often when doing a clean build.
I already asked on the STM32 github and was redirected here ...
Describe your environment
Sloeber product v4.4.3
OS: Win 11
The text was updated successfully, but these errors were encountered: