[vtkusers] Cygwin/Python/vtk question

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Apr 17 10:44:49 EDT 2006


Ken,

	What error do you get when trying to compile VTK directly on cygwin. We 
are building VTK on a nightly basis and we do not need any special patch.

Thanks
Mathieu

Ken Keller wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list