D, windows developement, frustration and fish

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 1 03:46:06 PST 2015


On Sun, 01 Feb 2015 11:40:12 +0000, jkpl wrote:

> 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 ?

it's not missing, it's in "sc.ini", along with other minor tweaks that 
aren't interesting in the context of the story itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150201/82bc12c0/attachment.sig>


More information about the Digitalmars-d mailing list