[vtk-developers] Regarding python.

Andrew Maclean a.maclean at cas.edu.au
Mon Aug 1 00:21:19 EDT 2005


Some of you may have been following this in the vtk Developers group.

Under Visual Studio 7.1 I have been using the INSTALL option to install VTK
to the Program Files Directory. The rationale being that you build it and,
if OK, install it for use. Until recently everything seemed to work OK until
there were some changes to the Python installs. Utkarsh Ayachit has been
really helpful in resolving the issue - we think it relates to the fact that
during the compile of the test routines for Python it used the path to the
older installation in c:\Program Files ... thereby causing dll conflicts
namely with being unable to find vtkCommon.dll. You can fix it by setting
the path to the directory where the vtk release is being built. So there is
some issue with paths and CMake that should be looked at.

Apart from that the install for VTK and TCL works OK - I don't know about
Java.

Of course, because I haven't been sure about Python, I have been randomly
testing python. The following tests for Python leak resources:
Common\Testing\Python: TestWeakref.py
Graphics\Testing\Python: TestTensorGlyph.py, TestTextureGlyph.py
\Examples\Annotation\Python: DispAllFonts.py


Some tests are also using deprecated features.
\Examples\Annotation\Python: cubeAxes.py (AddProp)

I hope this helps.

In summary, I feel that the install is not quite correct for Windows yet.
Additionally is there a workaround for building a debug version of VTK
without the Python debug library?



Andrew






___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.cas.edu.au/
___________________________________________





More information about the vtk-developers mailing list