You have to replace “rm” and “mkdir” syntax in all the "makefile"s. The makefiles can be found in the “build” folder of all the repositories - core-firmware, core-communication-lib, core-common-lib.
@RWB If you have GitHub for Windows installed - which I highly recommend - see another option here:
Bottom line: Use the “Git Shell” app/shortcut to open a Git-aware command line that recognizes the commands above, instead of opening a “normal” command line that does not.
@david_s5 you just saved me a lot of time by getting me to try to fix my build situation. I had a problem where if I ran “make” from the build directory once, it worked. But if I ran it again it was failing. This was because of some file paths in some of the .d files. I was thinking maybe converting my PATH to DOS8.3 format would maybe change the situation… worth a try at least. So I did, and it was now building over and over perfectly. But as a test, I put my PATH back to the normal long version expecting it to break again but it did not. Still builds perfectly. There must have been some updates to the make file that I wasn’t aware of… so thanks for inadvertently saving me a ton of time! I had to basically clean all build directories before EACH build prior to now… that really sucked.
@Bdub I had the same issue. I was able to run the Make via command prompt to load your firmware just fine the first time but when I tried to run it later via command prompt I just keep getting this error:
Others gave me links to ways to fix this but it didn’t and after 2 hours I gave up.
I tried to load your Firmware again but it would not compile either and gave me the same error message even though it worked the first time. I just figured the Communication-lib had been updated and that was causing the error message.
In frustration I just deleted all the programs needed to compile and figured I would start from scratch and try again.
So what exactly did you change to make it work again? Should this also work for me? I would like to try out David_s5’s latest firmware but can’t flash any new firmware because of this issue.
@david_s5 I can also report in happy Cores running for ~2 days soon. So the firmware seems to stand up for the test so far. I will be gone for 5 more days and hopefully when I come back they all will keep on breathing.
@david_s5 Right. I was about to ask you about your earlier comment since it looks like they’ve now merged all your pull requests. Good work and thanks. You’ve made a lot of great contributions and fixes.
@RWB I think the Spark team stated a while ago that the branch of code pushed out to Cores and the IDE is compile-server2. Right now, that branch is almost 100 changes behind the master branch. I’m sure they’ll post to the blog once they release a firmware update.
Thanks for the info. It seems the Web IDE firmware is running alittle better now than id did 2 weeks ago when I last ran it. Not sure if its the same or not.
@David_s5 I’m running the latest IDE firmware and it seems alot more stable than before. It does not freeze up near as often as the old Firmware did. Not sure what changes were made but things seem to be better.
I have not had time to try you latest firmware though.