DMD - issue building shared library
Dibyendu Majumdar via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 17 14:12:44 PST 2016
On Sunday, 17 January 2016 at 19:10:16 UTC, bitwise wrote:
> On Sunday, 17 January 2016 at 16:10:01 UTC, Dibyendu Majumdar
> wrote:
>> LINK : error LNK2001: unresolved external symbol
>> _DllMainCRTStartup
>
> _DllMainCRTStartup:
>
> D shared libs on windows still require a DllMain. If you follow
> this post here[1] to create one, it should solve some of your
> problem.
>
> [1] http://wiki.dlang.org/Win32_DLLs_in_D
>
Ok thanks - wasn't aware of that. Presumably there is no compiler
flag to auto generate this?
Regards
More information about the Digitalmars-d
mailing list