I had this issue, my project directory was "/home/Luigi/Documents/DS stuff/hello_world/build"
and then when i ran make, it would create the directory "/home/Luigi/Documents/DS", which would then trip an error
To fix it, i renamed the 'DS stuff' directory to 'ds_stuff' and it worked. probably...