Re: Errors building GtkD on windows

2013-05-19 Thread Mike Wey
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

Re: Errors building GtkD on windows

2013-05-19 Thread Mike Wey
On 05/19/2013 03:07 PM, Mike Wey wrote: 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. Scratch that, the build script is calling the linker directly. It should probably use dmd for linking the the lib.

Re: Errors building GtkD on windows

2013-05-19 Thread Enjoys Math
On Sunday, 19 May 2013 at 13:20:18 UTC, Mike Wey wrote: On 05/19/2013 03:07 PM, Mike Wey wrote: 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. Scratch that, the build script is calling the linker

Re: Errors building GtkD on windows

2013-05-19 Thread Mike Wey
On 05/19/2013 04:51 PM, Enjoys Math wrote: I don't see how the build script is calling link.exe directly, but my sc.ini looks like this: [Version] version=7.51 Build 020 [Environment] LIB=%@P%\..\lib;\dm\lib DFLAGS=-I%@P%\..\..\src\phobos -I%@P%\..\..\src\druntime\import -I%@P%\..\..\src

Errors building GtkD on windows

2013-05-18 Thread Enjoys Math
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

Re: Errors building GtkD on windows

2013-05-18 Thread Enjoys Math
Well I can get it to build using the bud method provided but I was concerned that gtkgl wasn't built into the final lib, but just noticed that the .brf file includes the srcgl directory. So surely gl stuff is included in the final GtkD.lib when budding? It's weird though that I need to