linking error

"Jacques Le Normand" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
hello lablgtk-list
I'm currently trying to use gnome canvas, but I'm getting a link error
here's the code and error

open Gobject
let _ =
  let source_window = GWindow.window () in
  let canvas = GnoCanvas.canvas ~packing:source_window#add () in
  let buffer = GText.buffer () in
  let view = GText.view ~buffer:buffer  () in
  let _ = GnoCanvas.widget ~widget:view canvas#root  in
    source_window#show ();
    source_window#maximize ();

      GMain.Main.main ();

(*
ocamlc -I +lablgtk2 -I -g lablgtk.cma gtkInit.cmo test.ml
Error while linking test.cmo: Reference to undefined global `GnoCanvas'
*)

_______________________________________________
Lablgtk mailing list
[email protected]
http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.