Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-07-19 (22:42)
From: GL7: David Elsdon <gl7@t...>
Subject: Re: [Caml-list] can't #load some library files
At 10/07/03 11:47, you wrote:
> > 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.

Hi Xavier,

Thanks for the help. "dllgraphics.dll" was in lib/ as well as lib/stublibs. 
The problem was that the version in lib/ was an old one. Copying all the 
dll*.dll files from lib/stublibs into lib/ solves the problem as far as I 
can tell.

Should I formally report this as a problem with the native Win32 
distribution or is reporting the problem on this list sufficient.



To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: