Browse thread
[Caml-list] newbie - running graphics applications in WinNT
- fred@o...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | fred@o... |
| Subject: | [Caml-list] newbie - running graphics applications in WinNT |
I'm experimenting with the "native" version of OCaml 3.02 on WinNT 4
(SP6). I'm looking for help understanding how to run graphic
applications.
I'm able to run trivial examples from the oc.tar.gz distribution in
http://caml.inria.fr/Examples, but I can't figure out how to run the
included "graphics programs" such as colwheel.ml outside of
OCamlwin.exe.
I tried building an 'ocamlgraph' per the note in oc/eng.html, but that
fails with many errors like this:
camlprim0.obj : error LNK2001: unresolved external symbol _gr_clear_graph
Searching at http://pauillac.inria.fr/bin/wilma/caml-list I find the
suggestion to run this
ocamlmktop -o ocamlgraph graphics.cma
That fails, reporting
Error while linking e:/programs/ocaml/lib\graphics.cma(Graphics):
The external function `gr_set_window_title' is not available
The "readme.win" file says that '"graph" works only under the toplevel
application'. Does that mean I can't build an 'ocamlgraph' at all on
WinNT? I really want to use ocaml to create some standalone graphical
applications that can run on Win32 machines; is that possible?
Or should I forget the "graphics library" and use Labltk instead, or
perhaps LablGL or LablGTK?
--
Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312
Principal Consultant www.OntoSys.com fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr