I have been using the instructions on this webpage to try to compile VTK on Cygwin:<br>
<br>
<a href="http://www.creatis.insa-lyon.fr/~bellet/creatis/cygwin/">http://www.creatis.insa-lyon.fr/~bellet/creatis/cygwin/</a><br>
<br>
Everything goes fine until I get to:<br>
<br>
<pre>patch -E -p0 &lt; vtk-cygwin.patch<br><br>Where I get these errors:<br><br><span style="font-family: arial,sans-serif;">patching file Common/CMakeLists.txt<br>Hunk #1 FAILED at 1.<br>Hunk #2 FAILED at 193.<br>2 out of 2 hunks FAILED -- saving rejects to file Common/CMakeLists.txt.rej
<br>patching file Filtering/CMakeLists.txt<br>Hunk #1 FAILED at 1.<br>1 out of 1 hunk FAILED -- saving rejects to file Filtering/CMakeLists.txt.rej<br>patching file Graphics/CMakeLists.txt<br>Hunk #1 FAILED at 1.<br>1 out of 1 hunk FAILED -- saving rejects to file Graphics/CMakeLists.txt.rej
<br>patching file Hybrid/CMakeLists.txt<br>Hunk #1 FAILED at 1.<br>Hunk #2 FAILED at 43.<br>2 out of 2 hunks FAILED -- saving rejects to file Hybrid/CMakeLists.txt.rej<br>patching file IO/CMakeLists.txt<br>Hunk #1 FAILED at 1.
<br>1 out of 1 hunk FAILED -- saving rejects to file IO/CMakeLists.txt.rej<br>patching file Imaging/CMakeLists.txt<br>Hunk #1 FAILED at 1.<br>1 out of 1 hunk FAILED -- saving rejects to file Imaging/CMakeLists.txt.rej<br>
can't find file to patch at input line 1228<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|Index: Patented/CMakeLists.txt<br>|===================================================================
<br>|RCS file: /cvsroot/VTK/VTK/Patented/CMakeLists.txt,v<br>|retrieving revision 1.21<br>|diff -u -r1.21 CMakeLists.txt<br>|--- Patented/CMakeLists.txt    1 May 2002 20:04:28 -0000       1.21<br>|+++ Patented/CMakeLists.txt    8 Jul 2002 20:55:24 -0000
<br>--------------------------<br>File to patch:<br><br>Could someone tell me what is wrong?  I'm using Python 2.4, if that is useful.<br><br>Thanks,<br>Ken<br></span></pre>