<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi!<br>I encounter yet another problem which is, I believe, independent from the library-linking issue. <br>Trying to build my code (vtkVdcWriter.h and vtkVdcWriter.cxx) within paraview and expecting all the linker errors, I get the following error:<br><br>[99%] Generating vtkVdcWriterClientServer.cxx <br>syntax error<br>***SYNTAX ERROR found in parsing the header file C:/ParaviewSource/ParaView3/Plugins/vtkVdcWriter.h before line 49 ***<br>...<br><br>I believe it´s an error thrown by the Qt. Does anyone know what´s the problem here (the vtkVdcWriter.h file is posted below) or at least, how I can get an error message which is at least a bit more specific?<br><br>vtkVdcWriter.h:<br>#ifndef _vtkVdcWriter_h<br>#define _vtkVdcWriter_h<br><br>#include "vtkProcessObject.h"<br>#include "vtkDataSet.h"<br>#include &lt;vector&gt;<br>#include &lt;string&gt;<br><br><br>class VTK_EXPORT vtkVdcWriter : public vtkProcessObject<br>{<br>public:<br>&nbsp; static vtkVdcWriter *New();<br>&nbsp; vtkTypeRevisionMacro(vtkVdcWriter,vtkProcessObject);<br>&nbsp; void PrintSelf(ostream&amp; os, vtkIndent indent);<br><br>&nbsp; //Description:<br>&nbsp; // Set or get the file name of the vdc file.<br>&nbsp; virtual void SetFileName(const char* fname);<br>&nbsp; virtual const char* GetFileName();<br><br>&nbsp; //Description:<br>&nbsp; // Set the input data set.<br>&nbsp; virtual void SetInput(vtkDataSet* ds);<br><br>&nbsp; // Description:<br>&nbsp; // Get any input of this filter.<br>&nbsp; vtkDataObject *GetInput(int idx);<br>&nbsp; vtkDataObject *GetInput() <br>&nbsp;&nbsp;&nbsp; {return this-&gt;GetInput( 0 );}<br><br>&nbsp; //Description:<br>&nbsp; // Write the XDMF file.<br>&nbsp; void Write();<br><br>&nbsp; //routines from vapor vdfcreate<br>&nbsp;int cvtToOrder(const char *from, void *to);<br>&nbsp;int cvtToExtents(const char *from, void *to);<br>&nbsp;int cvtTo3DBool(const char *from, void *to);<br>&nbsp;int getUserTimes(const char *path, vector &lt;double&gt; &amp;timevec); <br><br>&nbsp;int WriteVDF(unsigned int* dims, int numts, int level, string coordsystem, string metafilename, string var);<br><br><br>&nbsp; protected:<br>&nbsp; vtkVdcWriter();<br>&nbsp; ~vtkVdcWriter();<br><br>&nbsp; vtkSetStringMacro(FileNameString);<br>&nbsp; vtkSetStringMacro(MetaFileName);<br>&nbsp; vtkSetStringMacro(DataFileName);<br>&nbsp; char *FileNameString;<br>&nbsp; char *MetaFileName;<br>&nbsp; char *DataFileName;<br>};<br>#endif /* _vtkVdcWriter_h */<br><br><br>Could it be a problem using STL-classes here?<br><br>thx for any piece of advice,<br>Natalie<br><br><br /><hr />¡Ingresa ahora a MSN! <a href='http://tiempo.latam.msn.com/ ' target='_new'>¿Quieres saber cómo va a estar el clima mañana? </a></body>
</html>