Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
compilation of lablgl examples.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: compilation of lablgl examples.
From: Peter Ronnquist <>

> I have a problem with compiling the laglgl examples. I
> can run them with the top level:
> lablgl -labels
> but 
> ocamlc -I /usr/lib/ocaml/labltk  -I 
> /usr/lib/ocaml/lablGL -I /usr/lib/labltk.cma
> lablgl.cma togl.cmo -o program
> gives the following output:
> /usr/bin/ld: cannot find -ltk8.0
> collect2: ld returned 1 exit status
> Error while building custom runtime system
> I have in /usr/lib
> so I guess that the library really should be found,
> also the fact that the toplevel works seems to support
> that this library indeed is existing and usable.

At link time you also need a symbolic link ->
Is it there?
Did you compile lablgl yourself, and how di you modify the Makefile?
The only reason I see is that you would have used a package which
only requires the runtime of tcltk, and not the developper

Jacques Garrigue
Jacques Garrigue      Kyoto University     garrigue at
		<A HREF=>JG</A>