D, windows developement, frustration and fish
jkpl via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 1 03:40:12 PST 2015
On Sunday, 1 February 2015 at 11:37:46 UTC, Vladimir Panteleev
wrote:
> On Sunday, 1 February 2015 at 11:28:51 UTC, jkpl wrote:
>> Shouldn't you compile with the following cmds ?
>>
>> dmd.exe test.d wininet.lib wininet.di -I<path_to_di_file>
>
> wininet.lib is unnecessary because wininet.d has `pragma(lib,
> "wininet");`.
>
> wininet.di is unnecessary because it does not contain any code,
> only declarations - an import inside test.d is sufficient.
> (This may not be true if you pull in .init of struct types, for
> example)
okay but the -Ipath is still missing, wouldn't be a bit the
reason why dmd complains about undefined symbols ?
More information about the Digitalmars-d
mailing list