From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA08650 for caml-red; Thu, 8 Feb 2001 19:56:20 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA14934 for ; Thu, 8 Feb 2001 08:23:42 +0100 (MET) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.6.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f187NgH24127 for ; Thu, 8 Feb 2001 08:23:42 +0100 (MET) Received: (from luther@localhost) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) id IAA22140; Thu, 8 Feb 2001 08:22:28 +0100 Date: Thu, 8 Feb 2001 08:22:28 +0100 From: Sven To: Peter Ronnquist Cc: Jacques Garrigue , caml-list@inria.fr Subject: Re: compilation of lablgl examples. Message-ID: <20010208082228.A22127@dpt-info.u-strasbg.fr> References: <20010206113416M.garrigue@kurims.kyoto-u.ac.jp> <20010207120929.19408.qmail@web1301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010207120929.19408.qmail@web1301.mail.yahoo.com>; from pronnquist@yahoo.com on Wed, Feb 07, 2001 at 04:09:29AM -0800 Sender: weis@pauillac.inria.fr On Wed, Feb 07, 2001 at 04:09:29AM -0800, Peter Ronnquist wrote: > > --- Jacques Garrigue > wrote: > > From: Peter Ronnquist > > > > > I have a problem with compiling the laglgl > > examples. I > > > can run them with the top level: > > > lablgl -labels simple.ml > > > > > > but > > > > > > ocamlc -I /usr/lib/ocaml/labltk -I > > > /usr/lib/ocaml/lablGL -I /usr/lib/labltk.cma > > > lablgl.cma togl.cmo simple.ml -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 libtk8.0.so.1 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 > > libtk8.0.so -> libtk8.0.so.1. > > 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 > > environment. > > > > Jacques Garrigue > > > --------------------------------------------------------------------------- > > Jacques Garrigue Kyoto University garrigue > > at kurims.kyoto-u.ac.jp > > > Thank you for your help Jacques, as Sven Luther > mentioned he helped me and pointed me to the developer > packages of tcl and tk. > > Now I am trying to get the lablgl examples to run > fast. I get accelrated gl with the c version of gears > (900 fps). But the performance of the planet.ml and > tennis.ml is nowhere near this performance. I guess > that dri must be used by lablgl if it is available. Just a stupid question, but i assume you are suing the native code compiler, not the bytecode one ? Friendly, Sven Luther