Your class is missing implementations of various methods defined in the header including PrintSelf, New, etc. Provide implementations for those that the .so loading errors go away. Your CSVImage.xml is also an invalid xml. You may want to correct that.
On Sun, Jul 8, 2012 at 6:45 PM, Rakesh Hammond <[email protected]> wrote: > Hi, > > I have been playing with writing a reader for ParaView. I followed the > Kitware instructions from here > > http://www.kitware.com/products/html/WritingAParaViewReaderPlug-in.html > > I managed to get the source to build and ended up with a .so file as > expected. When I try and load in ParaView via > > Tools-> ManagePlugins ->Load new, I get the following error > > mydevelopment/pvplugin/cvsReader/build/libCSVImage.so: undefined symbol: > _ZTV17vtkCSVImageReader > > If I do nm libCSVImage.so | grep " _ZTV17vtkCSVImageReader", the output is > > U _ZTV17vtkCSVImageReader > > Can some one please give me any pointers? I am on Ubuntu-12.04, gcc-4.4.7 > and ParaView-3.14.1 on a 32bit machine. > > I am also attaching the code I used to generate the .so files. > > > Regards, > Rakesh > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
