English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Can't find a lablgtk2 file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-09 (01:05)
From: Jacques Garrigue <garrigue@m...>
Subject: Re: [Caml-list] Can't find a lablgtk2 file
From: "Jimmy Miller" <captainthunder@gmail.com>

> I just compiled lablgtk2
> (http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html) and I'm
> trying to run the sample like the documentation says:
> lablgtk2 gtktest.ml
> But whenever I run this, I get the error "Can't find file lablgtk.cma"
> I've tried adding the path to the lib\lablgtk2 directory to the
> OCAMLLIB variable, but it still doesn't work.  I've even tried copying
> all of the lablgtk library files to the C:\Objective Caml\lib folder,
> and I still get the same error.

Did you do
  ./configure && make world && make install
as suggested by the README?
This should have installed all the files at the right places.
If you didn't, just do "make install".
You may also test lablgtk2 without installing with
  ./src/lablgtk2 -localdir

Jacques Garrigue