Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: SooHyoung Oh <shoh@compiler.kaist.ac.kr>
To: N.P.S.Sika@westminster.ac.uk
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] GTK
Date: Wed, 20 Jul 2005 00:40:56 +0900	[thread overview]
Message-ID: <42DD1F08.1060906@compiler.kaist.ac.kr> (raw)
In-Reply-To: <1121786775.42dd1b97b71c7@zeppo.wmin.ac.uk>


It seems that you don't have lablgtk2 installed.
Please check whether $(OCAMLLIB)/lablgtk2 exists or not.

N.P.S.Sika@westminster.ac.uk wrote:

>Hello there,
>
>I try to compile my first GTK+2 code "base.ml" taken from the GTK Ocaml tutorial
>from
>
>-------------
>(* file: base.ml *)
>
>let main () =
>  let window = GWindow.window () in
>  window#show ();
>  GMain.Main.main ()
>
>let _ = main ()
>-------------------
>You can compile the above program with ocamlc using:
>
>ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml
>
>
>HOWEVER when I do that i get the following error message
>
>File "base.ml", line 4, characters 15-29:
>Unbound value GWindow.window
>
>anyone got any idea what it is ?
>thanks
>
>_______________________________________________
>Caml-list mailing list. Subscription management:
>http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
>Archives: http://caml.inria.fr
>Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>  
>


  reply	other threads:[~2005-07-19 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-19 15:26 GTK N.P.S.Sika
2005-07-19 15:40 ` SooHyoung Oh [this message]
2005-07-20  6:21 ` [Caml-list] GTK Jean-Christophe Filliatre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42DD1F08.1060906@compiler.kaist.ac.kr \
    --to=shoh@compiler.kaist.ac.kr \
    --cc=N.P.S.Sika@westminster.ac.uk \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox