<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
It is working, but why???<br>
<br>
a have a similar line after without the //BTX, //ETX and the parser
works fine.<br>
<br>
this is magic for me. Thanks <br>
<br>
<br>
<br>
On 05/10/2010 11:53, Paul Edwards wrote:
<blockquote
cite="mid:AANLkTinG3RQVNC5aB0J0yXmqY5PusULHXzhhg9Ta1MB-@mail.gmail.com"
type="cite">Have you tried putting the //BTX and //ETX around the
construct_point_fields_2 function?<br>
<br>
Regards,<br>
Paul<br>
<br>
<div class="gmail_quote">On 5 October 2010 10:31, Felipe Bordeu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:felipe.bordeu@ec-nantes.fr">felipe.bordeu@ec-nantes.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
I am trying to compile my (XDMF based) reader with de development
version of paraview, but a get a parser error:<br>
<br>
[ 5%] Generating moc_PGDReader_Plugin.cxx<br>
[ 10%] Generating vtkPGDReaderClientServer.cxx<br>
syntax error<br>
*** SYNTAX ERROR found in parsing the header file
/home/fbordeu/projects/Paraview_PGD_Reader/vtkPGDReader.h before line
234 ***<br>
make[2]: *** [vtkPGDReaderClientServer.cxx] Erreur 1<br>
make[1]: *** [CMakeFiles/PGDReader.dir/all] Erreur 2<br>
make: *** [all] Erreur 2<br>
<br>
this is the problematic line:<br>
<br>
void
construct_scalar_point_fields_2(std::vector<vtkUnstructuredGrid *
>& alldata, vtkIdList *ptIdsPGD, std::vector<int>
&spacedata);<br>
<br>
I already use the //BTX and the //ETX for the variable declaration
(like in <a moz-do-not-send="true"
href="http://paraview.org/Wiki/Plugin_HowTo#SYNTAX_ERROR_found_in_parsing_the_header_file"
target="_blank">http://paraview.org/Wiki/Plugin_HowTo#SYNTAX_ERROR_found_in_parsing_the_header_file</a>)<br>
<br>
I think is the vector class that causing the problem, because if a put<br>
<br>
void construct_scalar_point_fields_2(vtkUnstructuredGrid * alldata,
vtkIdList *ptIdsPGD, int &spacedata); (of course my code does not
work )<br>
<br>
the parser work fine.<br>
<br>
Any ideas??.<br>
<br>
Thanks,<br>
<br>
-- <br>
<br>
Felipe Bordeu Weldt<br>
Ingénieur de Recherche<br>
-------------------------------------<br>
Tél. : 33 (0)2 40 37 16 57<br>
Fax. : 33 (0)2 40 74 74 06<br>
<a moz-do-not-send="true" href="mailto:Felipe.Bordeu@ec-nantes.fr"
target="_blank">Felipe.Bordeu@ec-nantes.fr</a><br>
Intitut GeM - UMR CNRS 6183<br>
École Centrale de Nantes<br>
1 Rue de La Noë, 44321 Nantes, FRANCE<br>
-------------------------------------<br>
<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
<a class="moz-txt-link-abbreviated" href="mailto:Felipe.Bordeu@ec-nantes.fr">Felipe.Bordeu@ec-nantes.fr</a>
Intitut GeM - UMR CNRS 6183
École Centrale de Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------</pre>
</body>
</html>