<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/6a82cfbcf41f6b2560800cc6b67cfbdb"
  from="GL7: David Elsdon &lt;gl7@t...&gt;"
  author="GL7: David Elsdon"
  date="2003-07-19T22:42:02"
  subject="Re: [Caml-list] can&apos;t #load some library files"
  prev="2003/07/c820f41c594e6cd00e8768dfd44bf325"
  next="2003/07/6cb882d4a63966c724c885fa1940d677"
  prev-in-thread="2003/07/32445ed576455f6cd11f5fcc84d4ef92"
  prev-thread="2003/07/fb3da633abcfdc3f4bbdc870d13140cb"
  next-thread="2003/07/6bc4071391178edd2304f91139ccb696"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] can&apos;t #load some library files">
<msg 
  url="2003/07/2a69eacc58f525bdc223410c31d18e6a"
  from="GL7: David Elsdon &lt;gl7@t...&gt;"
  author="GL7: David Elsdon"
  date="2003-07-09T16:36:47"
  subject="[Caml-list] can&apos;t #load some library files">
<msg 
  url="2003/07/32445ed576455f6cd11f5fcc84d4ef92"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-10T09:48:18"
  subject="Re: [Caml-list] can&apos;t #load some library files">
<msg 
  url="2003/07/6a82cfbcf41f6b2560800cc6b67cfbdb"
  from="GL7: David Elsdon &lt;gl7@t...&gt;"
  author="GL7: David Elsdon"
  date="2003-07-19T22:42:02"
  subject="Re: [Caml-list] can&apos;t #load some library files">
</msg>
</msg>
</msg>
</thread>

<contents>
At 10/07/03 11:47, you wrote:
&gt; &gt; I am using the native Windows build of ocaml version 3.06. I get an error
&gt; &gt; when I try to load graphics.cma at the top level. Here's what happens.
&gt; &gt;
&gt; &gt; D:\Work in progress\Ocaml projects&gt;ocaml
&gt; &gt;          Objective Caml version 3.06
&gt; &gt; # #load "graphics.cma";;
&gt; &gt; Cannot load required shared library: A device attached to the system is 
&gt; not
&gt; &gt; functioning.
&gt; &gt; I wonder whether not have visual C++ installed on my system has
&gt; &gt; anything to do with the problem. Maybe some dll needed to load
&gt; &gt; graphics.cma is missing ??
&gt;
&gt;Yes, this denotes a problem while loading the DLL "dllgraphics.dll",
&gt;which normalyy should be in the lib/ or lib/stublibs subdirs of the
&gt;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

</contents>

</message>

