Dear all,<br><br>I am trying to write my first plugin reader and trying to follow the examples on the wiki.<br>I am stuck with annoying syntax error, which I can&#39;t seem to understand where its coming from - can some one tell me where I am going wrong please?<br>
<br>Here is my top bit of the header file, where the error is being generated <br><br>class VTK_EXPORT myFancyReader : public vtMultiBlockDataSetAlgorithm {<br>&nbsp;&nbsp;&nbsp; public:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; static myFancyReader* New();<br>};<br>
#endif<br><br>apparently there is a syntax error at the line where it begins with class - when its trying to generate myFancyReaderClientServer.cxx<br><br>My CMakeLists.txt is <br>&nbsp;&nbsp;&nbsp; ADD_PARAVIEW_PLUGIN(MyReader &quot;1.0&quot; <br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SERVER_MANAGER_XML readers.xml <br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GUI_RESOURCES pqReader.qrc<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SERVER_MANAGER_SOURCES myFancyReader.cxx<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; )<br><br>Thanks very much,<br>Rakesh<br>