[Paraview] "Syntax error found parsing header file" while compiling plugin

Sven Buijssen sven.buijssen at tu-dortmund.de
Sat Oct 31 12:48:48 EDT 2009


Hi David,

>> (That's a classic one and something else for the wiki.)
>> Just wrap all variable declarations involving vtkSmartPointer up into a
>>  //BTX
>>      ... code ...
>>  //ETX
>> comment. To hide that particular setting from the parser in
>> vtkWrapClientServer which does not handle well those declarations
>> involving VTK classes.
>>
>> Sven
> 
> Thanks Sven, that fixed the syntax error. However, I am getting a new error now:
> 
> vtkICPFilterClientServer.cxx:97: error: invalid conversion from
> ‘vtkPolyDataAlgorithm*’ to ‘vtkICPFilter*
> 
> Anyone know what would cause this?

Add
     vtkTypeRevisionMacro(vtkICPFilter, vtkPolyDataAlgorithm);
to your vtkICPFilter.h.

Sven


More information about the ParaView mailing list