Version française
Home     About     Download     Resources     Contact us    
Browse thread
Using LablTk in Windows NT
[ 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: Using LablTk in Windows NT
From: "Kevin Backhouse" <kevinb@comlab.ox.ac.uk>

> 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
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>