VisualD + dub generate results in linker error

Malte Kießling via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Fri Sep 16 10:53:34 PDT 2016


On Friday, 16 September 2016 at 16:43:42 UTC, Rainer Schuetze 
wrote:
>
> This looks as if the optlink command line is passed to the MS 
> linker. Unfortunately the two programs have the same name 
> (link.exe), so it is usually an issue with the PATH environment 
> variable.
>

That was the problem, thanks for the info!

> It seems you want to build a Win32 program, so please make sure 
> that "$(DMDInstallDir)\windows\bin" is the first entry of the 
> "Executable Paths" of "Tools->Options->Projects and 
> Solutions->Visual D Settings->DMD Directories->Win32".

This however did not work as expected. I ended up removing the vs 
dirs completly... hmm. This might run into problems later.


More information about the Digitalmars-d-ide mailing list