<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [Paraview] Error in paraview-generated code compiling paraview reader</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>> I'm trying to compile a reader I've written for ParaView<BR>
> 1.8.2, and am getting an error in a source file created<BR>
> by ParaView's vtkWrapClientServer. <BR>
> ...<BR>
> class VTK_PVLocal_EXPORT vtkFlashHDF5Reader : public vtkSource {<BR>
<BR>
In the next few lines, do you have<BR>
vtkTypeRevisionMacro(vtkFlashHDF5Reader,vtkUnstructuredGridSource);<BR>
because that would confuse the client-server wrapper generator<BR>
into thinking the SafeDownCast call on line 19 of the generated<BR>
file would work (which it won't since you don't inherit<BR>
vtkUnstructuredGridSource, only vtkSource).<BR>
<BR>
David</FONT>
</P>
</BODY>
</HTML>