Hello,
I have written a new filter and put in the method New():
static vtkHorizontalAverage *New() {return new vtkHorizontalAverage;}
it is in the header-file vtkHorizontalAverage.h, HorizontalAverage is the new
filter.
As there is already the definition there, there is nothing else concerning
New() in the corresponding .cxx-file.
Now building paraview with that filter, it compiles fine, but linking I get the
following error:
Linking CXX Executable ..\..\..\bin\ServerManagerStateLoader.exe:
..\bin\libvtkPVFilters.a(vtkPVFiltersInstantiator.obj):vtkPVFiltersInstantiator.cxx:
undefined reference to 'vtkInstantiatorvtkHorizontalAverageNew() '
What can I do to avoid that? Is there any file I need to include additionally,
or.. ??
thx for help,
NH
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview