Just posted: Detailed guide to using Visual D with external library

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Tue Jul 22 00:19:34 PDT 2014



On 21.07.2014 19:35, Mathias LANG wrote:
> On Thursday, 12 June 2014 at 20:14:54 UTC, Rainer Schuetze wrote:
>> I was considering adding the import paths of dependent projects
>> automatically to the dmd command line some time ago, but never got to
>> it. I guess that would be a good addition.
>
> Definitely !
> I was just searching through this forum for this very reason:
> Created a project, added a library, it doesn't work. Searched a
> bit and found this, thanks !
> Btw, there is also an issue with backslashes: I had to put
> '$(SolutionDir)\\libdparse\\src\\' (w/out the quotes), as single
> slashes didn't work.

This is in the import path option? The trailing \ is causing the 
trouble, you don't need that.

But I often prefer forward slashes anyway. ;-) Unfortunately dmd/optlink 
do not always like these...


More information about the Digitalmars-d-ide mailing list