From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA14321; Sun, 14 Oct 2001 00:41:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA13841 for ; Sun, 14 Oct 2001 00:41:32 +0200 (MET DST) Received: from fantods.com (fcy-2.soho.enteract.com [216.80.27.146]) by nez-perce.inria.fr (8.11.1/8.10.0) with SMTP id f9DMfVD05869 for ; Sun, 14 Oct 2001 00:41:31 +0200 (MET DST) Received: (qmail 6385 invoked by uid 1000); 13 Oct 2001 22:41:22 -0000 From: fred@ontosys.com Date: Sat, 13 Oct 2001 17:41:22 -0500 To: caml-list@inria.fr Subject: [Caml-list] newbie - running graphics applications in WinNT Message-ID: <20011013174122.A6359@ontosys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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