"Start a Minimal web server" example do not work.
BoQsc
vaidas.boqsc at gmail.com
Tue May 8 19:36:03 UTC 2018
On Tuesday, 8 May 2018 at 19:19:26 UTC, Seb wrote:
> On Tuesday, 8 May 2018 at 18:40:34 UTC, BoQsc wrote:
>> On Tuesday, 8 May 2018 at 18:38:10 UTC, BoQsc wrote:
>>> On Tuesday, 8 May 2018 at 17:35:13 UTC, Jesse Phillips wrote:
>>>> [...]
>>>
>>> Tested with these versions so far, and had all the same
>>> errors:
>>> C:\Users\Vaidas>dmd --version
>>> DMD32 D Compiler v2.079.1
>>>
>>> C:\Users\Vaidas>dub --version
>>> DUB version 1.8.1, built on Apr 14 2018
>>>
>>> C:\Users\Vaidas>dmd --version
>>> DMD32 D Compiler v2.080.0
>>>
>>> C:\Users\Vaidas>dub --version
>>> DUB version 1.9.0, built on May 1 2018
>>
>> Linking...
>> C:\D\dmd2\windows\bin\lld-link.exe: warning:
>> eventcore.lib(sockets_106c_952.obj): undefined symbol:
>> SetWindowLongPtrA
>> C:\D\dmd2\windows\bin\lld-link.exe: warning:
>> eventcore.lib(sockets_106c_952.obj): undefined symbol:
>> GetWindowLongPtrA
>> error: link failed
>> Error: linker exited with status 1
>> C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
>
> That's with DMD's bundled LLD linker.
> Have you tried:
>
> 1) installing MS Visual Studio (as others have mentioned their
> linker works)
> 2) Using LDC (they usually ship a newer version of the LLD
> linker)
I have installed the one suggested by the dmd-2.080.0.exe
installer:
Microsoft Visual Studio Community 2017
Version 15.7.0
VisualStudio.15.Release/15.7.0+27703.1
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Mago Native Debug Engine 1.0.0
A debug engine dedicated to debugging applications written in the
D programming language. See the project website at
http://www.dsource.org/projects/mago_debugger for more
information. Copyright (c) 2010-2014 Aldo J. Nunez
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Visual D 0.46.0
Integration of the D Programming Language into Visual Studio
More information about the Digitalmars-d-learn
mailing list