[Paraview] compilation error

Rakesh Hammond rakesh.hammond at googlemail.com
Sat Nov 1 17:34:30 EDT 2008


Dear all,

I am trying to write my first plugin reader and trying to follow the
examples on the wiki.
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?

Here is my top bit of the header file, where the error is being generated

class VTK_EXPORT myFancyReader : public vtMultiBlockDataSetAlgorithm {
    public:
        static myFancyReader* New();
};
#endif

apparently there is a syntax error at the line where it begins with class -
when its trying to generate myFancyReaderClientServer.cxx

My CMakeLists.txt is
    ADD_PARAVIEW_PLUGIN(MyReader "1.0"
               SERVER_MANAGER_XML readers.xml
               GUI_RESOURCES pqReader.qrc
               SERVER_MANAGER_SOURCES myFancyReader.cxx
               )

Thanks very much,
Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081101/c4e2c95a/attachment.htm>


More information about the ParaView mailing list