www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - optlink windows warning 178

reply SpacenJasset <spacen razemail.com> writes:
Hello,

I am trying to build against the version 3.2.1 of gtk bindings in 
the dub repository. The build system has built the gtkd-3.lib 
library file, but doesn't not appear to want to link it to 
anything else. It gets stuck forever linking, but issues this 
warning:

..\..\Users\J.Spashett\AppData\Roaming\dub\packages\gtk-d-3.2.1\gtkd-3.lib
  Warning 178: .LIB pagesize exceeds 512
Nov 26 2015
parent Luis <luis.panadero gmail.com> writes:
On Thursday, 26 November 2015 at 11:00:28 UTC, SpacenJasset wrote:
 Hello,

 I am trying to build against the version 3.2.1 of gtk bindings 
 in the dub repository. The build system has built the 
 gtkd-3.lib library file, but doesn't not appear to want to link 
 it to anything else. It gets stuck forever linking, but issues 
 this warning:

 ..\..\Users\J.Spashett\AppData\Roaming\dub\packages\gtk-d-3.2.1\gtkd-3.lib
  Warning 178: .LIB pagesize exceeds 512
I had the same issue a few weeks ago : https://github.com/gtkd-developers/GtkD/issues/133 On my case optlink crashes instead of getting stuck. What I end doing is following the "Windows instructions" of his wiki, and build by hand with dmd . I try instruct to dub, on windows, to not grab gtkd from dub repository and use directly gtkd-3.lib that I precompiled, but I don't have any success (And I asked how fix this on this forum, here : http://forum.dlang.org/thread/begtftarmwztbiqfusiz forum.dlang.org )
Nov 26 2015