VisualD + dub generate results in linker error

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Fri Sep 16 09:43:42 PDT 2016



On 16.09.2016 18:15, Malte Kießling wrote:
>     LINK : fatal error LNK1104: Datei
> "obj\debug\dummy\dragon2d\..\source\game\game.obj,P:\Projects\Dragon2D\engine\Dragon2D.exe,obj\debug\dummy\dragon2d\dragon2d.map,P:\Projects\Dragon2D\.dub\lib\dragon2d_d2dlib.lib+"
> kann nicht geöffnet werden.
>     Building P:\Projects\Dragon2D\engine\Dragon2D.exe failed!
>
>


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.

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".


More information about the Digitalmars-d-ide mailing list