[vtkusers] Compiling VTK on Cygwin
Steve Boyd
boyd at biomed.ee.ethz.ch
Mon Jun 11 06:27:38 EDT 2001
Hello,
I've been trying to compile VTK (v3.2 - unix) on Cygwin (v1.3) with the
gcc compiler (2.95.3-4), but have been unsuccessful.
At first I tried to compile 'out of the box' but I ran into errors where
'glaux.h' library was required, but not available. I've been told that
'glaux.h' won't become available because it is obsolete.
Now, I'm trying to compile with the '-mno-cygwin' option as it seems
that is how other VTK-ers have had success. I read the helpful
information by Mumit Khan
(http://public.kitware.com/pipermail/vtkusers/2001-January/005501.html)
and installed Mingw as necessary for the -mno-cygwin option. My
compilation still failed, however, because it couldn't find include
files such as 'iostream.h'. In fact, I couldn't even compile a simple
Cxx program (hello.cxx) with the -mno-cygwin option successfully for the
same reason. I did some searching around and it seems others have
solved the problem regarding these include files using some murky
methods. It would seem that there must be a more straight foward
solution then the patching that they did to compile 'successfully.'
My question is this: Can somebody who has successfully compiled VTK on
Cygwin give me a little bit of guidance? Am I making an obvious mistake
based on what I've written above? Obviously I'm not a very experienced
programmer, but I thought that installing VTK on Cygwin would be
possible based on reading the VTK archives.
Sincerely,
Steve
--
Steven Boyd, PhD
Institute for Biomedical Engineering
ETH and University Zuerich
Moussonstrasse 18
8044 Zuerich, Switzerland
tel. +41.1.632.4591 fax. +41.1.632.1214 boyd at biomed.ee.ethz.ch
-------------------------------------------------------------------
More information about the vtkusers
mailing list