Venqui Posted October 12, 2018 Report 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2018 Report 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. Quote Link to comment Share on other sites More sharing options...
Venqui Posted October 12, 2018 Author Report Share Posted October 12, 2018 lel, thx I was like 'that can't be a problem..srsly' thx again Quote Link to comment Share on other sites More sharing options...
Guest Posted October 13, 2018 Report 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. Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 13, 2018 Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.