<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
The key to CMake working properly for MinGW is to launch CMakeSetup
from the MinGW environment, and generate "Unix Makefiles". Then run
make in the MinGW environment from your project's binary directory.<br>
<br>
Is that what you're doing? Are you using the MSYS bash shell?<br>
<br>
And do you have the CVS source for VTK or some earlier version? I had
different problems trying to compile the 4.4 release under MinGW...<br>
<br>
<br>
Hope this helps,<br>
David<br>
<br>
<br>
<br>
Lauren Cohen wrote:
<blockquote cite="mid1117907047.42a1e8672e66b@webmail.duke.edu"
 type="cite">
  <pre wrap="">When attempting a source code installation of VTK on my WinXP comp with the 
MinGW port of gcc, I get the following error message:

  </pre>
  <blockquote type="cite">
    <pre wrap="">The C compiler "gcc.exe" is not able to compile a simple test program.
It fails with the following output:
   0 [main] make 1588 fhandler_base::dup dup(some disk file) failed, handle 
    </pre>
  </blockquote>
  <pre wrap=""><!---->0, Win32 error 6
  </pre>
  <blockquote type="cite">
    <pre wrap="">   Building object file testCCompiler.o...
   Access violation

CMake will not be able to correctly generate this project.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What could be causing this error, and how can I fix it? Thank you for any help 
you can provide.
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>

  </pre>
</blockquote>
</body>
</html>