Path separator for ldc2 vs. dmd
Brian via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Tue Jun 14 10:55:34 PDT 2016
On Tuesday, 14 June 2016 at 17:21:29 UTC, David Nadlinger wrote:
Thank you for your help.
> Could you have a look at the actual LDC command line (dub has a
> verbose switch)? We might not be handling a particular style of
> path separators correctly.
-debug -g -w -oq -od=.dub/obj -d-version=Have_derelict_util
Error: module sourcederelictutilexception is in file
'sourcederelictutilexception.d' which cannot be read
import path = c:..../ldc2/bin/../include/d/ldc
import path = c:..../ldc2/bin/../include/d
import path = source
If I run the ldc2 command directly, then it generates the .obj
files and fails on the lib tool. It's invoking digital mars lib,
but looks like maybe I need to have the visual studio
The path separator issue seems to be something invoking ldc2 with
DUB version 0.9.24, built on Sep 20 2015
> Does it work if you use ldmd2 as the compiler?
It makes it further and complains that I do not have visual
studio installed (which I do not, though I have the run-time
installed). I was hoping not to need visual studio and thought
that with llvm, I wouldn't.
More information about the digitalmars-d-ldc