Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Osiris - gtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Osiris - gtk
> # open Osiris;;
> # let wnd=new_window();;
> Reference to undefined global `Osiris'
> # Stack.create();;
> - : '_a Stack.t = <abstr>
> # 
> 
> The last line is to show, that ocaml can find the libraries.

It does.
You simply forgot the following :

# #load "osiris.cma"

which must be called prior to opening Osiris.
After creating the wnd , don't forget :

wnd#visible true;;

if you want to see it :)

Nicolas Cannasse

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners