Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails with GDC on Windows due to path separator issues. #125

Closed
bruno-medeiros opened this issue Sep 25, 2013 · 0 comments
Closed

Comments

@bruno-medeiros
Copy link

Using dub with --compiler=gdc on Windows fails due to path separator issues. Here a sample of the verbose output:

Building configuration "application", build type debug
Application output name is 'D:\projects\D.Scratchpad\DubBasicTest\dub_basic_test.exe'
Running gdc...
gdc -o D:\projects\D.Scratchpad\DubBasicTest\dub_basic_test.exe -fversion=Have_dub_basic_test -ID:\projects\D.Scratchpad\DubBasicTest\source source\app.d source\func_mod.d
gdc: error: sourceapp.d: No such file or directory
gdc: error: sourcefunc_mod.d: No such file or directory
gdc: fatal error: no input files
compilation terminated.
Error: Build command failed with exit code 1

Someone is interpreting those backlashes as escape characters. And it seems to be dub, since if I invoke gdc directly from the cmd-line, with the gdc line above, works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant