[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Compiling on suse
From: |
address@hidden |
Subject: |
Re: [Paparazzi-devel] Compiling on suse |
Date: |
Mon, 26 Sep 2005 10:58:19 +0200 |
Ok, I'll have a closer look at my lablgl. Another question : I just
discovered the GODI distribution, it pretends to come with an easy way
of installing libs.
Has someone experience with GODI ? is it an option ?
Thanks
Martial
-----Original Message-----
Date: Sun, 25 Sep 2005 22:36:26 +0200
Subject: Re: [Paparazzi-devel] Compiling on suse
From: Pascal
To: Martial Chateauvieux
Hi,
in OCaml, the interfaces are .cmi files (and the name of the module is
the capitalized name of the file):
address@hidden:pascal% locate glList.cmi
/usr/lib/ocaml/3.08.3/lablgl/glList.cmi
In Debian Sarge, this file comes from the lablgl package:
address@hidden:pascal% dpkg -S glList.cmi
liblablgl-ocaml-dev: /usr/lib/ocaml/3.08.3/lablgl/glList.cmi
So your problem comes from an incomplete or wrong installation of the
lablgl library. You can check the contents of one module using the
toplevel (here you see the module contains the 'base' type as required):
address@hidden:pascal% ocaml -I +lablgl lablgl.cma
Objective Caml version 3.08.3
# module M = GlList;;
module M :
sig
type t = GlList.t
val create : [ `compile | `compile_and_execute ] -> t
val ends : unit -> unit
val call : t -> unit
val delete : t -> unit
type base = GlList.base
val nth : base -> pos:int -> t
val is_list : t -> bool
val gen_lists : len:int -> base
val begins : t -> mode:[ `compile | `compile_and_execute ] -> unit
val delete_lists : base -> len:int -> unit
val call_lists :
?base:base -> [ `byte of string | `int of int array ] -> unit
end
#
The sarge distribution uses the version 1.01-4 of lablgl. Which one did
you compile ?
--Pascal
Martial Chateauvieux wrote:
> Hi all,
>
> I am trying to compile paparazzi on my suse linux and have the
following
> problem.
>
> I thought I just added the lablgl library, but it doesn't seem to be
enough.
> can someone help ?
>
> Thanks
> Martial
>
> address@hidden:~/src/paparazzi> make
> (...)
> make[1]: Entering directory `/home/mch/src/paparazzi/sw/lib/ocaml'
> (...)
> ocamlc -g -I +lablgl -I +camlimages -I +lablgtk2 gtkgl_Hack.mli
> File "gtkgl_Hack.mli", line 25, characters 38-49:
> Unbound type constructor GlList.base
> make[1]: *** [gtkgl_Hack.cmi] Erreur 2
> make[1]: Leaving directory `/home/mch/src/paparazzi/sw/lib/ocaml'
> make: *** [lib] Erreur 2
> address@hidden:~/src/paparazzi>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>