[polyml] GUI Interface (Motif)

2014-12-15 Thread David Topham
David, Thank you so much! I really appreciate your help with this. Your sample below builds fine with polyc on my system (PolyML 5.5.2). I am using a minimal Linux distribution named TinyCore ( http://distro.ibiblio.org/tinycorelinux/) which comes with OpenMotif 2.3.3 It runs in a virtual machine

Re: [polyml] GUI Interface

2014-12-14 Thread David Matthews
On 13/12/2014 17:04, David Topham wrote: I did get the interactive version of the sample Motif code to work OK, but failed to get it to build stand-alone (i.e. using polyc). Perhaps the polyc script doesn't include the needed Motif libraries? But also, my limited understanding of how to

[polyml] GUI Interface

2014-12-13 Thread David Topham
The X-Windows/Motif code still builds as far as I'm aware but that's as far as it goes. I would say it was better to use something else through CInterface. The Poly/ML interactive environment (read-eval-print loop or REPL) is usually the easiest way to develop and test your code. It

Re: [polyml] GUI Interface

2014-12-13 Thread David Topham
Continuing my experiments, I came across sml_tk ( http://www.informatik.uni-bremen.de/~cxl/sml_tk/doc/manual.html) which looks promising. It is also a little old (uses PolyML 4). I ran the Makefile to install it and find it fails trying to do a commit. I noticed that there seems to have been a