Delivered-To: lablgtk at yquem.inria.fr Date: Thu, 3 Jul 2008 21:32:46 +0200 From: Philippe Strauss To: LablGTK Subject: Re: [Lablgtk] latest gdk does not have gdk/gdkx.h Message-ID: <20080703193246.GA19144 at philou.ch> References: <20080701183140.GA31395 at philou.ch> <5EFD4D7AC6265F4D9D3A849CEA9219191AB0E8@LAXA.intra.cea.fr> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5EFD4D7AC6265F4D9D3A849CEA9219191AB0E8 at LAXA.intra.cea.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Length: 1841 On Wed, Jul 02, 2008 at 12:43:03AM +0200, CUOQ Pascal wrote: > > > You get a bleeding edge gdk, in which gdk/gdkx.h has.. disapeared. > > You probably need to do the attached modification. > I didn't send it to the lablgtk maintainers because > I was not sure how to detect that this was gtk/quartz > (gtk/X11 still works better that the former for some things, > so both would have to remain available ideally). > > Pascal merci pascal, cela fonctionne concernant la compilation de lablgtk2 avec gtk+osx, par contre, pour compiler les exemples avec cette version "tunee" de lablgtk2, je rencontre le probleme suivant: File "counter.ml", line 32, characters 2-85: Warning S: this expression should have type unit. File "counter.ml", line 34, characters 2-85: Warning S: this expression should have type unit. File "counter.ml", line 36, characters 2-86: Warning S: this expression should have type unit. File "counter.ml", line 38, characters 2-77: Warning S: this expression should have type unit. File "counter.ml", line 40, characters 2-39: Warning S: this expression should have type unit. Error while linking /opt/gtk+osx/lib/ocaml/lablgtk2/lablgtk.cma(Glib): The external function `ml_g_usleep' is not available build script: #!/bin/sh for src in *.ml; do ocamlc -I /opt/gtk+osx/lib/ocaml/lablgtk2 -o $(basename $src .ml) lablgtk.cma gtkInit.cmo $src; done while: philou@philou-macbook:/opt/gtk+osx/lib/ocaml/lablgtk2$ grep ml_g_usleep * glib.ml:external usleep : int -> unit = "ml_g_usleep" Binary file lablgtk.cma matches Binary file liblablgtk2.a matches if anyone has an idea, she/he's welcome :-) -- Philippe Strauss av. de Beaulieu 25 1004 Lausanne http://philou.ch _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk