-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
rBoot makefile does not handle project paths with spaces #993
Comments
Solution: Don't use paths with spaces Like @tius2000 said, it's not a good practice to use paths with spaces when working with Make files. If not rBoot is the source of trouble, something else will nag about the spaces along the way. |
I have removed spaces from my project path but this is the 21st century. Operating systems and file systems have handled spaces for decades, as have most of the tools that sit on them. One would hope we don't need to work with ancient file systems forever. I had to deal with all this when I was young. I am hoping for some progress!!!!! Anyway - the point is that the Sming build system can handle paths with spaces so, if we can fix it in the rBoot makefile then we may avoid someone else wasting time chasing their tail like I did! |
I think it will be resolved with new Makefile version. |
I just experienced this again (having forgot I had reported the problem in the first place!) because the new version of my IDE has stopped checking for (and removing) spaces in the project path. The last commend from anakod referred to a new Makefile version but that does not seem to have materialised in a form to fix this issue. I think there was some appetite to rationalise the project Makefiles consolidating them to a single one (removing separate Makefile-project and Makefile-rboot) but that hasn't happened and the tow are rather divergent, making it awkward to compare. I will have a look to see if I can identify the cause of this issue because, although I know about GNU make being unfriendly to spaces, it has caught me out a few times and I want Sming to be low friction to all users, including newbies. |
Feel free to re-open this ticket if your issue is still present in the latest |
I have a project which is stored in a directory which has a space in its path. This builds fine with RBOOT_ENABLED = 0 but fails with RBOOT_ENABLED = 1. This is within MSYS2 (POSIX environment) on Windows 7 64-bit.
It would be advantageous (for debugging this kind of issue) if Makefile-project.mk and Makefile-rboot.mk were better aligned. Currently there are several sections of the same content positioned differently in each makefile.
The text was updated successfully, but these errors were encountered: