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 JAA10533 for caml-red; Thu, 21 Sep 2000 09:38:47 +0200 (MET DST) 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 CAA13273 for ; Thu, 21 Sep 2000 02:10:49 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by nez-perce.inria.fr (8.10.0/8.10.0) with ESMTP id e8L0AlX10180 for ; Thu, 21 Sep 2000 02:10:47 +0200 (MET DST) Received: from tet.kurims.kyoto-u.ac.jp (isdnppp2.kurims.kyoto-u.ac.jp [130.54.16.103]) by kurims.kurims.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id JAA04965; Thu, 21 Sep 2000 09:10:45 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by tet.kurims.kyoto-u.ac.jp (8.9.3/8.9.3) with ESMTP id JAA00559; Thu, 21 Sep 2000 09:02:38 +0900 (JST) (envelope-from garrigue@kurims.kyoto-u.ac.jp) To: kevinb@comlab.ox.ac.uk Cc: caml-list@inria.fr Subject: Re: Using LablTk in Windows NT In-Reply-To: Your message of "Wed, 20 Sep 2000 16:50:23 +0100" <000001c0231a$7c9a6930$847c01a3@comlab.ox.ac.uk> References: <000001c0231a$7c9a6930$847c01a3@comlab.ox.ac.uk> X-Mailer: Mew version 1.93 on Emacs 20.4 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000921090238H.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 21 Sep 2000 09:02:38 +0900 From: Jacques Garrigue X-Dispatcher: imput version 980905(IM100) Sender: weis@pauillac.inria.fr From: "Kevin Backhouse" > I would like to use the LablTk library in Windows NT, but I'm having some > trouble. I can compile modules that use the library, but I can't link them. > For example, if I try to compile "hello.ml", which is one of the LablTk > demos, I get the following error message: > > ocamlc -I c:/ocaml/lib/labltk labltk.cma hello.ml > > The name specified is not recognized as an > internal or external command, operable program or batch file. > Error while building custom runtime system > > Can anyone explain what this message means? My only guess is that Tcl/Tk > isn't working properly, but my copy of ocamlbrowser seems to work fine. Try ocamlc -verbose to see the actual call to the linker. One first possibility (too basic?) is that Visual C++ is not in your path. Another one (not related with this error message, but who knows) is that the linking libraries tcl83.lib and tk83.lib are not where labltk.cma looks for them, that is c:\tcl\lib. Regards, Jacques Garrigue --------------------------------------------------------------------------- Jacques Garrigue Kyoto University garrigue at kurims.kyoto-u.ac.jp JG