how to compile D programs without console window

evilrat evilrat666 at gmail.com
Sun Jul 15 01:20:25 UTC 2018


On Saturday, 14 July 2018 at 09:43:48 UTC, Flaze07 wrote:
> On Saturday, 14 July 2018 at 09:39:21 UTC, rikki cattermole 
> wrote:
>> If you're using dub, throw them into lflags and remove the -L.
>>
>> https://forum.dlang.org/post/gmcsxgfsfnwllplookmg@forum.dlang.org
> hmm, for some unknown reason it says that it is unable to find 
> SUBSYSTEM:windows.lib

/ (slash) is the part of a linker switch, /SUBSYSTEM:windows
so in dub.json it will look like

...
"lflags": [ "/SUBSYSTEM:windows" ],
...


More information about the Digitalmars-d-learn mailing list