[Paraview] plugin compilation error "Syntax Error found in parsing .."
Felipe Bordeu
felipe.bordeu at ec-nantes.fr
Tue Oct 5 05:31:31 EDT 2010
Hi, I am trying to compile my (XDMF based) reader with de development
version of paraview, but a get a parser error:
[ 5%] Generating moc_PGDReader_Plugin.cxx
[ 10%] Generating vtkPGDReaderClientServer.cxx
syntax error
*** SYNTAX ERROR found in parsing the header file
/home/fbordeu/projects/Paraview_PGD_Reader/vtkPGDReader.h before line
234 ***
make[2]: *** [vtkPGDReaderClientServer.cxx] Erreur 1
make[1]: *** [CMakeFiles/PGDReader.dir/all] Erreur 2
make: *** [all] Erreur 2
this is the problematic line:
void
construct_scalar_point_fields_2(std::vector<vtkUnstructuredGrid * >&
alldata, vtkIdList *ptIdsPGD, std::vector<int> &spacedata);
I already use the //BTX and the //ETX for the variable declaration (like
in
http://paraview.org/Wiki/Plugin_HowTo#SYNTAX_ERROR_found_in_parsing_the_header_file)
I think is the vector class that causing the problem, because if a put
void construct_scalar_point_fields_2(vtkUnstructuredGrid * alldata,
vtkIdList *ptIdsPGD, int &spacedata); (of course my code does not work )
the parser work fine.
Any ideas??.
Thanks,
--
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Intitut GeM - UMR CNRS 6183
École Centrale de Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------
More information about the ParaView
mailing list