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

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


Hi David,

At 08/05/2001 16:24, David Gobbi wrote:

>This is definitely a dll import/export problem.  The issue is the
>VTK_EXPORT preprocessor symbol not being set correctly, or not
>being used to declare a class.
>
>Try editing vtkPythonUtil.h and changing
>
>class vtkPythonCommand : public vtkCommand
>
>to
>
>class VTK_EXPORT vtkPythonCommand : public vtkCommand

Thanks, but this is already the case :

// To allow Python to use the vtkCommand features
class VTK_EXPORT vtkPythonCommand : public vtkCommand

So I guess it's something else.





More information about the vtkusers mailing list