Closed Talabo closed 1 year ago
It's missing the .dep
folder. If you manually make that as a workaround it should compile fine. ( mkdir build/100_250/.dep
)
This does need to be fixed though.
This is the commit that most likely caused this: https://github.com/vedderb/bldc/commit/1dbb1442028258b7b671a19f2e1da7637acf4e39 I have no way to test this on windows, so it would be good if some windows-person can have a look. Reverting the commit is not an option as the dependencies were not working properly before that.
I think that the issue is this line:
$(shell cmd /C if not exist "$(DEPPATH)" mkdir "$(DEPPATH)")
it gives the error The syntax of the command is incorrect.
Shortening it to $(shell mkdir "$(DEPPATH)")
works and compiles after a clean. but complains the directory already exists.
A subdirectory or file build/60/.dep already exists.
I can give a try at fixing it in a day or two. Some cursory poking at it hasn't yielded any true quick fixes.
I think that the issue is this line:
$(shell cmd /C if not exist "$(DEPPATH)" mkdir "$(DEPPATH)")
it gives the errorThe syntax of the command is incorrect.
Shortening it to
$(shell mkdir "$(DEPPATH)")
works and compiles after a clean. but complains the directory already exists.A subdirectory or file build/60/.dep already exists.
I can give a try at fixing it in a day or two. Some cursory poking at it hasn't yielded any true quick fixes.
This is the commit that most likely caused this: 1dbb144 I have no way to test this on windows, so it would be good if some windows-person can have a look. Reverting the commit is not an option as the dependencies were not working properly before that.
I'll look into both of this as well during the week. Thanks for the tips!
Hi Team: same issue for me. I follow Teslafly's comments and try to manually created ".dep" fold in target build fold and it worked fine. it can be a alert solution. Thanks for help
I think we can close this issue unless anyone is still seeing issues
Yes. This seems to be fixed/closed by https://github.com/vedderb/bldc/pull/562 Just successfully tried in on my Windows 11 system.
I encountered a similar issue and I had it compiling before. Had issues like Error 2
and crt0_v7m.o.d: No such file or directory
. Turns out I forgot to run make arm_sdk_install
after cloning.. Hope this helps somebody.
Compilation of the master-branch in Windows 11 (Windows PowerShell) seem to break and not work "straight from the shell". With the setup instructions from the masterbranch readme file.
This is the following result I receive:
If i run
make all_ut
I get the following: