>>>>> "Trevor" == Trevor Law <[EMAIL PROTECTED]> writes:

    Trevor> Hello, I spent all day today trying to get vtk and mayavi
    Trevor> to build on cygwin because of a cannot find
    Trevor> "libvtkRenderingPythonTkWidgets.dll" error.  I finally got

I've never tried VTK on win32 with cygwin which is why there is little
information about this.

    Trevor> it to work somewhat on accident, and since the maillist
    Trevor> postings regarding similar-sounding errors served to
    Trevor> confuse me all day (they were mostly the results of
    Trevor> different problems, but did point me to the right files),

Right, they are usually all for normal win32 binaries and not for
cygwin ones.

    Trevor> I thought I should post my solution in case anyone else
    Trevor> has the same problem.

Many thanks!  This will definitely be worth a FAQ entry.

    Trevor> Second (What got things to work after a day): On line 21
    Trevor> of
    Trevor> blahblah/VTK/Wrapping/Python/vtk/tk/vtkLoadPythonTkWidgets.py,
    Trevor> change prefix from "lib" to "cyg".  I think the cygwin
    Trevor> version of whatever makes dynamic libraries just always
    Trevor> uses cyg instead of lib.

What is sys.platform? i.e. how can we differentiate between python on
native win32 and python on cygwin?  This is so a more lasting fix can
be made to VTK.

cheers,
prabhu


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to