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 LAA04093; Thu, 10 Jul 2003 11:48:18 +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 LAA11923 for ; Thu, 10 Jul 2003 11:48:17 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6A9lVf26771; Thu, 10 Jul 2003 11:47:31 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA05697; Thu, 10 Jul 2003 11:47:28 +0200 (MET DST) Date: Thu, 10 Jul 2003 11:47:28 +0200 From: Xavier Leroy To: "GL7: David Elsdon" Cc: caml-list@inria.fr Subject: Re: [Caml-list] can't #load some library files Message-ID: <20030710114728.A18147@pauillac.inria.fr> References: <5.2.1.1.0.20030709142618.01d64cb0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <5.2.1.1.0.20030709142618.01d64cb0@localhost>; from gl7@tar.hu on Wed, Jul 09, 2003 at 06:36:26PM +0200 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 native:02 cma:03 dll:03 library:03 installed:04 loading:04 obscure:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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