Cannot instantiate abstract class for plug-in

David Machuca - Posted on 18 October 2010

Hello again
I'm trying to add the Moving_average plug-in before implementing new algorithms in SGeMS. I followed all the instructions of the documentation for adding plug-ins and I replicated all the properties of the project GsTLAppli_geostat in my plugins project. However, when I try to compile the .dll file for the new plug-in I get the following error messages:

error C2259: 'MovingAverage' : cannot instantiate abstract class d:\sgemsdev\myplugins\my1stplugin\moving_average.cpp 118 myplugins

Pointing to the lines:

return new MovingAverage;



Thank you very much for your help in advance.