From: fred@ontosys.com
To: caml-list@inria.fr
Subject: [Caml-list] newbie - running graphics applications in WinNT
Date: Sat, 13 Oct 2001 17:41:22 -0500 [thread overview]
Message-ID: <20011013174122.A6359@ontosys.com> (raw)
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
next reply other threads:[~2001-10-13 22:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-13 22:41 fred [this message]
2001-10-17 19:12 ` Xavier Leroy
2001-10-18 11:53 ` Frank Atanassow
2001-10-18 13:14 ` Pierre Weis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011013174122.A6359@ontosys.com \
--to=fred@ontosys.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox