Delivered-To: garrigue at math.nagoya-u.ac.jp Authentication-Results: mailhost.math.nagoya-u.ac.jp sender=lablgtk-bounces at yquem.inria.fr; domainkey=neutral (no query protocol specified; no policy for yquem.inria.fr) Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=3uk6t0RVZ4JHHL1JGGwMgfnFVcTxi32KzCqZwgNLAOk=; b=Luj06GGFpTwkYJ4icFdbNdX2jXp/aK9P5qvNhVmnCrOre87BAzQUNbmX94O6ttAZ9r b5rdOGV5NuzdgaY4pOBtGg8dRZ+lapTgzxedQ4HYQOY7ZSUIjnDD7wgWA7YF/7+O1VhK QgydzzIkMYxlW3ctjsYbvbquc3DJrEQ16uQSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=NSt7XDhkMnTgYG3GVeDhIAt9LU4eVGMUcbIRmSTk3NQKzPNpUAgLJDYz7t3ymLxSsZ NDjgyxKeQjUyJjLwfjDf81XFFCrcztO+Tp9Vqj+Xp92ZRbrD7pWqueAHsbRGFkgBZfCn 34vxjzr2ZIyPAd1xSJuv120ESTT8pZP3hBn0g= MIME-Version: 1.0 Date: Fri, 17 Jul 2009 16:46:26 +0800 Message-ID: <337fefc10907170146i1e7b12b4lcc1c15fe73eecc9d at mail.gmail.com> From: Li Qiao To: lablgtk at yquem.inria.fr Subject: [Lablgtk] lablgtk2 and ocamlc Content-Type: multipart/mixed; boundary="===============0874092054==" Mime-version: 1.0 --===============0874092054== Content-Type: multipart/alternative; boundary=000e0cd21176df5fd3046ee2d28a --000e0cd21176df5fd3046ee2d28a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --000e0cd21176df5fd3046ee2d28a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 th= e 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 1= 4, characters 4-24:
Unbound value GWindow.about_dialog"

But = I think lablgtk has installed in my machine since lablgtk2 command correctl= y run the example.
Anyone has any idea why this is so? Cos I may prefer the ocamlc command bec= ause I want to link to other ocaml files in my application.

Thank yo= u very much!
Qiao Li
--000e0cd21176df5fd3046ee2d28a-- --===============0874092054== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk --===============0874092054==--