[vtkusers] I'm stupid - (Python 2.0 question)
David Gobbi
dgobbi at irus.rri.on.ca
Fri Dec 15 17:14:44 EST 2000
Getting right to the point, all that _should_ be required for install
is 'nmake install.'
On Fri, 15 Dec 2000, Jonathan M. Gilligan wrote:
> I don't put anything in WINNT/System (that's a godawful practice!
> Thankfully, MS has forbidden this in Win 2K). I put them in their own
> directory, let'si call it "/bin/vtkdlls". I add "/bin/vtkdlls" to my
PATH
> and add the following key to my registry:
>
> HKLM/Software/Python/PythonCore/2.0/PythonPath/vtk
>
> and give this key a default value of type REG_SZ and value "\bin\vtkdlls".
>
>
> Now everything works like a charm!
>
> You don't have to do anything with the .lib files to use Python. You only
> need the .dll files.
>
> If you want to build binary Python extensions, then you will need to link
> with the vtk*.lib files, but since you may want to link other things than
> Python extensions (MFC or wxWindows programs, perhaps) to the vtk
> libraries, I prefer to leave them in the /vtk directory hierarchy.
>
> At 11:52 AM 12/15/2000, Justin Vose wrote:
> >The answer to the question:
> >
> >Place vtk.dll in WINNT/System
> >Place all other DLLs in Python20/DLLs
> >Place all .lib's (except vtk.lib) in Python20/libs
> >Rename the 'python' directory to vtk (or whatever) and copy into Python20
> >Create a file in Python20 called 'vtkpython.pth' - contents: whatever you
> >renamed the 'python' directory to above.
> >
> >Fire up python. Import vtkpython - and go nuts.
>
> Jonathan
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
--
David Gobbi, MSc dgobbi at irus.rri.on.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
More information about the vtkusers
mailing list