VUEngine-Studio icon indicating copy to clipboard operation
VUEngine-Studio copied to clipboard

Build not working when folder contains whitespaces

Open KR155E opened this issue 4 years ago • 4 comments

Can't name the application "VUEngine Studio", or otherwise the build is not working, due to the whitespace.

Likewise, building won't work if the user installs the application to any folder that contains whitespaces. Same problem probably occurs when trying to build a project that's inside a path containing whitespaces.

KR155E avatar Aug 04 '21 20:08 KR155E

Is it not possible to simply flag this as a limitation?, at least for the beta release? It will be quite a bit of work to track down all the places where the preprocessor needs to be tweaked to support whitespaces.

jorgeche avatar Aug 04 '21 21:08 jorgeche

I guess we can do that for the preview release. I named the application simply "VUEngine" for now. The worst part seems to be when a Windows user has whitespaces in their username, which would render the build pipeline broken.

Eventually, for the 1.0.0 release, we need to tackle this problem and harden the preprocessor and makefiles against such problems.

KR155E avatar Aug 05 '21 12:08 KR155E

The build widget will now output an error when either the workspace path, engine path or plugins path contains spaces. That way, we at least make the circumstances clear to the user in the preview release.

Bildschirmfoto 2021-08-09 um 16 44 25

KR155E avatar Aug 09 '21 14:08 KR155E

This boils down to http://savannah.gnu.org/bugs/?712 and might not be fixable.

KR155E avatar Aug 27 '21 17:08 KR155E