Venqui Posted October 12, 2018 Share Posted October 12, 2018 Hello guys! Im planning to start contributing to 0AD dev. I've got an error while compiling the code: Quote Absolute path contains whitespace, which will break the build - move the game to a path without spaces I'm following the guide, but can't find solution for this problem. PLs help Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2018 Share Posted October 12, 2018 As the error said, you can’t have spaces in paths to the code. So, easiest fix would be to just remove the spaces. “~/co de/ba se” should become “~/code/ba_se” or something else with no spaces. Link to comment Share on other sites More sharing options...
Venqui Posted October 12, 2018 Author Share Posted October 12, 2018 lel, thx I was like 'that can't be a problem..srsly' thx again Link to comment Share on other sites More sharing options...
Guest Posted October 13, 2018 Share Posted October 13, 2018 Hmm, maybe the script shouldn’t reject it. Could properly escape the whitespaces. However, it really isn’t good practice to have spaces too. Link to comment Share on other sites More sharing options...
Stan` Posted October 13, 2018 Share Posted October 13, 2018 1 hour ago, (-_-) said: Hmm, maybe the script shouldn’t reject it. Could properly escape the whitespaces. However, it really isn’t good practice to have spaces too. If we fix it for one platform it wouldn't work for another I guess. A good rule of thumb for programming is avoiding spaces as much as possible Only dealing with for stuff like user input. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now