[vtkusers] Python 2.1 + VTK (CVS) + Windows... Anyone ?

Sebastien BARRE seb-ml-vtk at barre.nom.fr
Tue May 8 16:09:41 EDT 2001


Hi

In order to match the (incoming) new VTK tree, I'm upgrading from Python 
2.0 to Python 2.1.

I had no pb until now with Python 2.0, but the CVS failed to build with 
2.1, with the following errors :

    Creating library ..\lib/vtkpython.lib and object ..\lib/vtkpython.exp
LINK : warning LNK4049: locally defined symbol "_PyVTKClass_Check" imported
LINK : warning LNK4049: locally defined symbol "_PyArg_VTKParseTuple" imported
[...]

vtkpythonotherobjs.lib(vtkPythonUtil.obj) : error LNK2001: unresolved 
external s
ymbol "__declspec(dllimport) const  vtkPythonCommand::`vftable'" 
(__imp_??_7vtkP
ythonCommand@@6B@)
..\lib/vtkpython.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'


Looks strange (once again, a dll export/import problem ?). I've checked the 
"What's new in Python 2.1", but I do not see any backward incompatibility 
at the moment :(
http://www.amk.ca/python/2.1/
http://sourceforge.net/project/shownotes.php?release_id=31464

Thanks
My conf : Windows 2000 SP1, Python 2.1 (binary install), latest VTK CVS





More information about the vtkusers mailing list