Linker can't link functions from advapi
Mike Parker
aldacron at gmail.com
Mon Apr 1 21:34:16 UTC 2019
On Monday, 1 April 2019 at 19:09:50 UTC, Deen O'Connor wrote:
> On Monday, 1 April 2019 at 15:33:46 UTC, Bastiaan Veelo wrote:
>> I would advise against using optlink, make sure your object
>> file format is COFF. I can recommend setting up your project
>> for dub[1]. All I had to do is add this to dub.json:
>>
>> "libs": [
>> "Gdi32",
>> "Comdlg32",
>> "Winspool",
>> "Ws2_32",
>> "wntab32x",
>> "User32"
>> ],
>>
>
> Linker failed with exit code 1120, same errors as before.
You don't need all of those if you aren't using them, but did you
add advapi32 to the list?
More information about the Digitalmars-d
mailing list