Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] can't #load some library files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] can't #load some library files
> I am using the native Windows build of ocaml version 3.06. I get an error 
> when I try to load graphics.cma at the top level. Here's what happens.
> 
> D:\Work in progress\Ocaml projects>ocaml
>          Objective Caml version 3.06
> # #load "graphics.cma";;
> Cannot load required shared library: A device attached to the system is not 
> functioning.
> I wonder whether not have visual C++ installed on my system has
> anything to do with the problem. Maybe some dll needed to load
> graphics.cma is missing ??

Yes, this denotes a problem while loading the DLL "dllgraphics.dll",
which normalyy should be in the lib/ or lib/stublibs subdirs of the
OCaml installation directory.

The error message is obscure but that's the one returned by Windows
itself.

And, no, you don't need VC++ installed for this to work.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners