Loading ...
Sorry, an error occurred while loading the content.

Re: Graphics in OCaml (under windows)

Expand Messages
  • olilan
    Hmm, thanks, that file does exist... but when I try to load it I get: # #load graphics.cma ;; Cannot load required shared library: %1 is not a valid Win32
    Message 1 of 3 , Aug 7 2:14 PM
    • 0 Attachment
      Hmm, thanks, that file does exist...

      but when I try to load it I get:

      # #load "graphics.cma";;
      Cannot load required shared library: %1 is not a valid Win32
      application.

      Any ideas?

      Thanks,
      Oli.

      --- In ocaml_beginners@y..., "kenzo_ahikawa" <mw534@s...> wrote:
      > --- In ocaml_beginners@y..., "olilan" <olilan@h...> wrote:
      > > Hi.
      > >
      > > Can anyone help me get graphics working in OCaml?
      > >
      > > I'm using OCamlWin, and according to the manual all I have to do
      is
      > > run:
      > >
      > > #load "graphics.cmo";;
      > >
      > > but there's no such file graphics.cmo...
      > >
      > > Thanks,
      > > Oliver Lan.
      >
      > Try this:
      >
      > #load "graphics.cma";;
    Your message has been successfully submitted and would be delivered to recipients shortly.