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-10 (09:48)
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

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

- Xavier Leroy

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