[Paraview] plugin compilation error "Syntax Error found in parsing .."

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Tue Oct 5 08:27:04 EDT 2010


It is working, but why???

a have a similar line after without the //BTX, //ETX and the parser 
works fine.

this is magic for me. Thanks



On 05/10/2010 11:53, Paul Edwards wrote:
> Have you tried putting the //BTX and //ETX around the 
> construct_point_fields_2 function?
>
> Regards,
> Paul
>
> On 5 October 2010 10:31, Felipe Bordeu <felipe.bordeu at ec-nantes.fr 
> <mailto:felipe.bordeu at ec-nantes.fr>> wrote:
>
>     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 <mailto:Felipe.Bordeu at ec-nantes.fr>
>     Intitut GeM - UMR CNRS 6183
>     École Centrale de Nantes
>     1 Rue de La Noë, 44321 Nantes, FRANCE
>     -------------------------------------
>
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Please keep messages on-topic and check the ParaView Wiki at:
>     http://paraview.org/Wiki/ParaView
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.paraview.org/mailman/listinfo/paraview
>
>


-- 

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
-------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101005/1f9f518f/attachment.htm>


More information about the ParaView mailing list