lablgtk2 and ocamlc
Li Qiao <[email protected]> Fri, 17 Jul 2009 16:46:26 +0800
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am new to lablgtk, sorry if this question is too native. When trying on the examples, I can run the examples with lablgtk2 ??.ml. However, when I try using the ocamlc command, it doesn't work. For example, for the about.ml example inside the distribution, command "ocamlc -g -I ../src lablgtk.cma about.ml -o about" (stated in the code) gives me an error of "File "about.ml", line 14, characters 4-24: Unbound value GWindow.about_dialog" But I think lablgtk has installed in my machine since lablgtk2 command correctly run the example. Anyone has any idea why this is so? Cos I may prefer the ocamlc command because I want to link to other ocaml files in my application. Thank you very much! Qiao Li _______________________________________________ Lablgtk mailing list [email protected] http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk