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:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=x0Wbc2bRj51zxH9gIuK8Cw+DUarVWTbe2bL/onluILc=; b=kN/5EXlMnnPaOGxQ5MrCAQDabGjZMehF7HMdCfecRp3wx7NYOzAlxWCjN3Qua7BaWWFNy04Cm7vZMnNUCBfAyq5p7j+LNlKcUx4bTx9FBwNuATOmH12ve/PdBBdbZpd3baJkMx2sCYLJ5/UL3T38zqeEq13NeNnwUnAFELJe/LU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=cU82XxWXATg4jaYTXGEQ589k1O0D/N7bxW6rO768Sc9O+qcWoDeRVnz3ricGPIy1HxhMoAL0MTtZvSuqKeTXMEUCKmy3FAhG8S46KR8wBlNp6pl535WTfIC+vwLxOkwfyZbe2VbgJOJnrB6JfuuqGeANNV9aD3FVEhe5tfjD45U= Message-ID: Date: Wed, 14 May 2008 21:18:47 -0400 From: "Jacques Le Normand" To: lablgtk at yquem.inria.fr MIME-Version: 1.0 Subject: [Lablgtk] linking error Mime-version: 1.0 Content-Type: multipart/mixed; boundary="===============0220383144==" Content-Length: 2225 --===============0220383144== Content-Type: multipart/alternative; boundary="----=_Part_7538_4443539.1210814327840" ------=_Part_7538_4443539.1210814327840 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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' *) ------=_Part_7538_4443539.1210814327840 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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'
*)
------=_Part_7538_4443539.1210814327840-- --===============0220383144== 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 --===============0220383144==--