Errors building GtkD on windows

Mike Wey mike-wey at example.com
Sun May 19 06:07:20 PDT 2013


On 05/19/2013 06:54 AM, Enjoys Math wrote:
> Doing 'rdmd Build.d' gives:
>
> Microsoft (R) Library Manager Version 11.00.50727.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> LINK : warning LNK4044: unrecognized option '/c'; ignored
> LINK : fatal error LNK1104: cannot open file 'gtkd.lib'
> Microsoft (R) Library Manager Version 11.00.50727.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> LINK : warning LNK4044: unrecognized option '/c'; ignored
> LINK : fatal error LNK1104: cannot open file 'gtkdgl.lib'
> Microsoft (R) Library Manager Version 11.00.50727.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> LINK : warning LNK4044: unrecognized option '/c'; ignored
> LINK : fatal error LNK1104: cannot open file 'gtkdsv.lib'

dmd / rdmd is calling the Microsoft linker instead of the one from 
Digital Mars. Try checking if the LINKCMD is set correctly in sc.ini.

-- 
Mike Wey


More information about the Digitalmars-d-learn mailing list