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

2009-10-31 Thread Sven Buijssen
David, > > Add > > vtkTypeRevisionMacro(vtkICPFilter, vtkPolyDataAlgorithm); > > to your vtkICPFilter.h. > > > > That did the trick. However, now that it compiles correctly, when I load > the plugin in Paraview it has a yellow warning symbol (! in a triangle) > and it says: > >

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

2009-10-31 Thread David Doria
> > Add > vtkTypeRevisionMacro(vtkICPFilter, vtkPolyDataAlgorithm); > to your vtkICPFilter.h. > > Sven > That did the trick. However, now that it compiles correctly, when I load the plugin in Paraview it has a yellow warning symbol (! in a triangle) and it says: Load Error, Plugin verificatio

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

2009-10-31 Thread Sven Buijssen
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

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

2009-10-31 Thread David Doria
On Sat, Oct 31, 2009 at 12:04 PM, Sven Buijssen wrote: > 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

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

2009-10-31 Thread Sven Buijssen
those declarations involving VTK classes. Sven - Original Message - From: David Doria To: ParaView Sent: Samstag, 31. Oktober 2009 15:27:18 Subject: [Paraview] "Syntax error found parsing header file" while compiling plugin > When I try to build this filter as a plugin: > http:

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

2009-10-31 Thread David Doria
When I try to build this filter as a plugin: http://www.rpi.edu/~doriad/Paraview_List/ICP/ I get this error: *** SYNTAX ERROR found in parsing the header file vtkICPFilter.h before line 30 *** It builds just fine as a non-plugin (using CMakeLists.txt.vtk). Can anyone see the problem? Thanks, D