Is there a MyPlugin.h file and is it in the same directory as the .cxx? If I recall correctly the ADD_PARAVIEW_PLUGIN sets up client/server wrappings and makes an assumption that each source file you give it has a header file.<br>
<br><div class="gmail_quote">On Sun, Nov 29, 2009 at 11:20 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If I have my cxx and h files for my filter in ..../MyFilter<br>
<br>
then in ..../MyFilter/plugin I have the MyFilter.xml. I also have a<br>
CMakeLists.txt containing<br>
<br>
ADD_PARAVIEW_PLUGIN(MyPlugin &quot;1.0&quot;<br>
  SERVER_MANAGER_XML MyPlugin.xml<br>
SERVER_MANAGER_SOURCES ../MyPlugin.cxx<br>
)<br>
<br>
You&#39;ll notice the ../MyPlugin.cxx because the filter sources are not<br>
in the plugin directory.<br>
<br>
When I try to build I get an error:<br>
MyFilterClientServer.cxx error: MyFilter.h: No such file or directory<br>
<br>
I&#39;m assuming this is because it is looking in the current directory.<br>
Is there a way to specify where the sources reside?<br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>