Browse thread
[Caml-list] can't #load some library files
-
GL7: David Elsdon
-
Xavier Leroy
- GL7: David Elsdon
-
Xavier Leroy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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. Cheers David ------------------- 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