[vtkusers] Cygwin/Python/vtk question

Ken Keller dabizi at gmail.com
Mon Apr 17 06:51:05 EDT 2006


I have been using the instructions on this webpage to try to compile VTK on
Cygwin:

http://www.creatis.insa-lyon.fr/~bellet/creatis/cygwin/

Everything goes fine until I get to:

patch -E -p0 < vtk-cygwin.patch

Where I get these errors:

patching file Common/CMakeLists.txt
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 193.
2 out of 2 hunks FAILED -- saving rejects to file Common/CMakeLists.txt.rej
patching file Filtering/CMakeLists.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Filtering/CMakeLists.txt.rej
patching file Graphics/CMakeLists.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Graphics/CMakeLists.txt.rej
patching file Hybrid/CMakeLists.txt
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 43.
2 out of 2 hunks FAILED -- saving rejects to file Hybrid/CMakeLists.txt.rej
patching file IO/CMakeLists.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file IO/CMakeLists.txt.rej
patching file Imaging/CMakeLists.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Imaging/CMakeLists.txt.rej
can't find file to patch at input line 1228
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: Patented/CMakeLists.txt
|===================================================================
|RCS file: /cvsroot/VTK/VTK/Patented/CMakeLists.txt,v
|retrieving revision 1.21
|diff -u -r1.21 CMakeLists.txt
|--- Patented/CMakeLists.txt    1 May 2002 20:04:28 -0000       1.21
|+++ Patented/CMakeLists.txt    8 Jul 2002 20:55:24 -0000
--------------------------
File to patch:

Could someone tell me what is wrong?  I'm using Python 2.4, if that is useful.

Thanks,
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060417/650980b7/attachment.htm>


More information about the vtkusers mailing list