digitalmars.D - Workaround for installing D1 on a directory with spaces on Windows
- Phil Deets (13/13) Sep 29 2009 I really wanted to get D1 to work in a path with spaces, but it couldn't...
I really wanted to get D1 to work in a path with spaces, but it couldn't seem to find the phobos library even if I hardcoded the path in sc.ini and used quotes. I came up with a workaround that I thought I would share. I just used the short version of the path which is intended for DOS compatibility. I found a little GPL-licensed utility that converts a Windows path (which can have spaces) to the equivalent DOS path (which does not have spaces). The utility is at http://gravityfx.org/2005/07/04/dos-path/. I'm adding the next line for future searchers on a related error; so they might find this: object.d: module object cannot read file 'object.d' -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sep 29 2009