[Paraview] Error Parsing Header File

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed May 9 13:10:42 EDT 2007


Hi Kent,

Simply put all the definitions of these extra classes (and any API that 
takes, returns instances of these extra classes) within
//BTX

//ETX

block.

Utkarsh.

Kent Eschenberg wrote:
> I'm trying to compile a new reader for 2.6.0 (on Fedora Core 5, P4). The 
> compiler likes the header file but some ParaView parser does not. The 
> message is:
> 
> ======
> Generating vtkHYCOMReaderClientServer.cxx
> syntax error
> *** SYNTAX ERROR found in parsing the header file 
> /home/eschenbe/PV/Kits/HYCOM/vtkHYCOMReader.h before line 6 ***
> ======
> 
> and the first 6 lines of the file in question is this:
> 
> ======
> #ifndef __vtkHYCOMReader_h
> #define __vtkHYCOMReader_h
> 
> #include "vtkStructuredGridSource.h"
> 
> class HYCOM_Variable {
> ...
> ======
> 
> The new reader uses 6 extra classes to manage information about the 
> files and variables. The clase HYCOM_Variable is the first of these 
> extra classes.
> 
> Help!
> Kent
> Pittsburgh Supercomputing Center
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 


More information about the ParaView mailing list