On Tuesday, 8 May 2018 at 12:37:42 UTC, BoQsc wrote:
On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote:
On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote:
[...]

This one needs to be compiled+run with the dub package manager instead of with rdmd, which is why it has that shebang line. It has external library dependencies rdmd can't handle.

My intuition now says to use dub this way:
--------------------------------------
C:\Users\Vaidas\Desktop>dub start_minimum_server.d
EC:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

And got an error: Unexpected OPTLINK Termination at EIP=0040F60A
EAX=06CB0000 EBX=00438C70 ECX=000002C2 EDX=0000030D
ESI=00257000 EDI=06CB34F8 EBP=0019FF38 ESP=0019FEF0
First=00402000

Similar to this one: https://issues.dlang.org/show_bug.cgi?id=18799

Did you try the newer MSCOFF format

dub --arch=x86_mscoff start_minimum_server.d

or

dub --arch=x64 start_minimum_server.d

Reply via email to