[vtkusers] ImportError with VTK 4.x, Python 2.2, BCC32 5.5 [SOLVED]
Charl P. Botha
c.p.botha at its.tudelft.nl
Mon Sep 16 05:22:11 EDT 2002
On Sat, Sep 14, 2002 at 03:33:36AM +0200, Charl P. Botha wrote:
> On Sat, Sep 14, 2002 at 12:45:26AM +0200, Charl P. Botha wrote:
> > ImportError: dynamic module does not define init function
> > (initvtkCommonPython)
>
> Python expects the former and so can not find this function in the DLL.
>
> The solution is to create Borland module definition files for all kits in
> the VTK binary (output) directory, in my case VTK/bin. Each .def file must
I have added a FAQ entry for this. You can review it here:
http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq05.013.htp
Thanks,
Charl
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtkusers
mailing list