Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cameltk absent #8172

Closed
vicuna opened this issue Jun 9, 2003 · 1 comment
Closed

cameltk absent #8172

vicuna opened this issue Jun 9, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 9, 2003

Original bug ID: 1713
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Paul Lister
Version: 3.06
OS: Windows 2000
Submission from: host81-134-11-122.in-addr.btopenworld.com (81.134.11.122)

I've downloaded the binaries and installed ocaml 3.06 for Windows on my Windows
2000 machine.

There is a directory of examples for camltk, but no camltk.cma file. Conversely
there is a labltk.cma file, but no examples.

I have installed tcl/tk8.3.

If I link the demo hello.ml against labltk, I get an error message from the
Button.create instruction "This argument cannot be applied without a label".

Looks like I need the camltk library - but where can I get it?

Interesting point:

I have also loaded ocaml 3.06 on my Red Hat Linux machine. The cameltk library
is also absent. However I can compile and run the demos "hello.ml" and
"camleyes.ml" by changing the first line

open Tk;;

to

open Camltk;;

and then linking with the labltk library.

Hope you can help.

@vicuna
Copy link
Author

vicuna commented Jun 10, 2003

Comment author: administrator

From: rp.lister@btconnect.com

Full_Name: Paul Lister
Version: 3.06
OS: Windows 2000

I've downloaded the binaries and installed ocaml 3.06 for Windows on
my Windows 2000 machine.

There is a directory of examples for camltk, but no camltk.cma
file. Conversely there is a labltk.cma file, but no examples.

I have installed tcl/tk8.3.

You seem to have everything needed :-)
Actually you have already the answer, just as on Linux, to use CamlTk
you must write "open CamlTk" at the beginning of your examples.

Examples for LablTk are only available in the source distribution of
ocaml. You can find them at
http://camlcvs.inria.fr/cgi-bin/cvsweb.cgi/ocaml/otherlibs/labltk/examples_labltk/

In both cases, ocamlbrowser -I +labltk will probably help you finding the
functions you need.

Cheers,

Jacques Garrigue

@vicuna vicuna closed this as completed Jun 12, 2003
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant