[vtkusers] How to use built vtk with python

Jothybasu K Selvaraj jothybasu at gmail.com
Mon Mar 29 09:38:33 EDT 2010


When I try to import vtk I get a DLL load failed error.Please see the
screenshot attached.

Thanks,

Jothy

On Fri, Mar 26, 2010 at 6:31 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:

> You're not giving us much to go on. In what way is it not working? Was the
> vtkpython executable generated during your build? Can python just not find
> the libraries when you try to "import vtk" from the standard Python
> executable?
>
> Sorry I don't know anything specific about python in Windows, but you need
> to let people know what's happening for them to help.
>
> -Eric
>
>
> On Mar 26, 2010, at 12:47 PM, Jothybasu K Selvaraj wrote:
>
> Thanks but not of much use. I have sucessfully built vtk 5.5 with python
> wrapping "ON" using visual studio and it has installed in newly created vtk
> directory with bin,lib,include,plugins.
>
> Bu how to make this work with python, even after googling for hours not
> able to find the solution.I need vtk 5.5 because it only has PoinInPolygon
> method in vtkPolygon. Is there any workaround!
>
>
> Thanks
>
> Jothy
>
> On Fri, Mar 26, 2010 at 12:11 PM, David Doria <daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> > wrote:
>
>> On Fri, Mar 26, 2010 at 7:36 AM, Jothybasu K Selvaraj <
>> jothybasu at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I have downloaded the latest vtk source from cvs and built it with VS
>>> 2008 with python wrappin on in cmake.After this how to use this vtkPython in
>>> python.
>>>
>>> Thanks,
>>>
>>> Jothy
>>>
>>>
>> Check out:
>> http://vtk.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup
>>
>> <http://vtk.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup>and
>>
>> http://vtk.org/Wiki/VTK/Examples#Example_Usage_.28Python.29
>>  <http://vtk.org/Wiki/VTK/Examples#Example_Usage_.28Python.29>
>> Thanks,
>>
>> David
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100329/b8a19f50/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: untitled.JPG
Type: image/jpeg
Size: 30139 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100329/b8a19f50/attachment.jpeg>


More information about the vtkusers mailing list