[vtkusers] How to use built vtk with python

Dave Partyka dave.partyka at kitware.com
Mon Mar 29 10:05:09 EDT 2010


Okay, if it indeed is Qt that is missing, what you want to do is:

Open a command prompt and set your PATH like so:

set PATH=C:\<your Qt dir>\bin;%PATH%

Then from the same shell, launch vtkPython.

On Mon, Mar 29, 2010 at 10:00 AM, Jothybasu K Selvaraj
<jothybasu at gmail.com>wrote:

> I didn't copied the QT dlls,but I have Qt installed separately. I installed
> vtk by building INSTALL.
>
> Thanks,
> Jothy
>
>
> On Mon, Mar 29, 2010 at 2:54 PM, Dave Partyka <dave.partyka at kitware.com>wrote:
>
>> A runtime is not being found. I see QVtk in your screenshot, are the QT
>> Dlls set in your system PATH or copied into your bin directory?
>>
>>
>> On Mon, Mar 29, 2010 at 9:38 AM, Jothybasu K Selvaraj <
>> jothybasu at gmail.com> wrote:
>>
>>> 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
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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/e666bfc7/attachment.htm>


More information about the vtkusers mailing list