[Paraview] Error Parsing Header File

Kent Eschenberg eschenbe at psc.edu
Wed May 9 13:05:10 EDT 2007


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


More information about the ParaView mailing list