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'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> public:<br> 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> ADD_PARAVIEW_PLUGIN(MyReader "1.0" <br>
SERVER_MANAGER_XML readers.xml <br> GUI_RESOURCES pqReader.qrc<br> SERVER_MANAGER_SOURCES myFancyReader.cxx<br> )<br><br>Thanks very much,<br>Rakesh<br>