From: Stalkern 2 Reply-To: stalkern2 at tin.it To: lablgtk at kaba.or.jp Subject: Re: Ocamlfind and Lablgtk2 Date: Wed, 3 Dec 2003 11:32:02 +0100 References: <200312021757.24463.stalkern2 at tin.it> In-Reply-To: <200312021757.24463.stalkern2 at tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312031132.02667.stalkern2 at tin.it> Il Tuesday 02 December 2003 17:57, Stalkern 2 ha scritto: [...] > > However, my porting candidate still shows puzzled: > > Compiling a .mli file with the line > val gtkPixmap_of_file : string -> GMisc.pixmap > fails: > > $ ocamlfind ocamlopt -thread -package "pxp lablgtk2 threads pcre unix > camlp4 shell" -predicates "init threads" -c my_gtk_genericmodule.mli > File "my_gtk_genericmodule.mli", line 1, characters 34-46: > Unbound type constructor GMisc.pixmap > make: *** [my_gtk_genericmodule.cmi] Error 2 > > I've read the README of lablgtk2 but I can't figure out what is going on. > > How is it possible that my linking sins :-) fool ocamlfind itself? > > Ernesto Well I'm experiencing that on my box OTHER GTK2 type declarations, different from GMisc.pixmap, DON'T have such problem... I can compile but I can't understand very well why is GMisc.pixmap the Ugly Duckling (GtkUgly.duckling ? :-)) ) Ernesto