<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello,<br>I have written a new filter and put in the method New():<br><br>static vtkHorizontalAverage *New() {return new vtkHorizontalAverage;}<br><br>it is in the header-file vtkHorizontalAverage.h, HorizontalAverage is the new filter.<br>As there is already the definition there, there is nothing else concerning New() in the corresponding .cxx-file.<br><br>Now building paraview with that filter, it compiles fine, but linking I get the following error:<br><br>Linking CXX Executable ..\..\..\bin\ServerManagerStateLoader.exe:<br>..\bin\libvtkPVFilters.a(vtkPVFiltersInstantiator.obj):vtkPVFiltersInstantiator.cxx: undefined reference to 'vtkInstantiatorvtkHorizontalAverageNew() '<br><br>What can I do to avoid that? Is there any file I need to include additionally, or.. ?? <br>thx for help,<br>NH<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>