From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA04069; Sun, 20 Jul 2003 00:42:02 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA03590 for ; Sun, 20 Jul 2003 00:42:01 +0200 (MET DST) Received: from darmachakra.axelero.hu (fe03.axelero.hu [195.228.240.91]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6JMfrf19492 for ; Sun, 20 Jul 2003 00:41:55 +0200 (MET DST) Received: from localhost (localhost-02 [127.0.2.1]) by darmachakra.axelero.hu (8.12.9/8.12.9) with SMTP id h6JMfrev067926 for ; Sun, 20 Jul 2003 00:41:53 +0200 (CEST) Received: from fe03.axelero.hu [127.0.2.1] via SMTP gateway by darmachakra.axelero.hu [195.228.240.91]; id A0095321938 at Sun Jul 20 00:41:53 2003 Received: from zen.tar.hu (55.33-182-adsl-pool.axelero.hu [81.182.33.55]) by fe03.axelero.hu (8.12.9/8.12.9) with ESMTP id h6JMfqpi067920 for ; Sun, 20 Jul 2003 00:41:52 +0200 (CEST) Message-Id: <5.2.1.1.0.20030720003243.00a4ad60@localhost> X-Sender: gl7/mail.tar.hu@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Sun, 20 Jul 2003 00:41:48 +0200 To: caml-list@inria.fr From: "GL7: David Elsdon" Subject: Re: [Caml-list] can't #load some library files In-Reply-To: <20030710114728.A18147@pauillac.inria.fr> References: <5.2.1.1.0.20030709142618.01d64cb0@localhost> <5.2.1.1.0.20030709142618.01d64cb0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 3.06.:01 3.06:01 stublibs:01 subdirs:01 ocaml:01 caml:01 lib:01 tar:01 native:02 cma:03 wrote:03 dll:03 library:03 sufficient:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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