Yes, I think this is the cause. Your MyFilter/CMakeLists should define the project and different variables such as the include folders. You asked me out-of-list for my usual configurations: You may want to take a look at <a href="http://github.com/jeromevelut/Chiron">http://github.com/jeromevelut/Chiron</a><br>
This is a work-in-progress Medical Imaging Paraview plugin. Checkout the Chiron-PoC branch (proof-of-concept). The structure will not change. In your case, your root folder looks like my ./Modules/ folder and your ./plugin is the same as my ./Plugins<br>
<br>HTH,<br>Jerome<br><br><div class="gmail_quote">2009/11/29 pat marion <span dir="ltr">&lt;<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you need to include_directories(../) ?<br><font color="#888888"><br>Pat</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, Nov 29, 2009 at 12:08 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Sun, Nov 29, 2009 at 11:48 AM, Dave Partyka &lt;<a href="mailto:dave.partyka@kitware.com" target="_blank">dave.partyka@kitware.com</a>&gt; wrote:<br>


&gt; Is there a MyPlugin.h file and is it in the same directory as the .cxx? If I<br>
&gt; recall correctly the ADD_PARAVIEW_PLUGIN sets up client/server wrappings and<br>
&gt; makes an assumption that each source file you give it has a header file.<br>
<br>
</div>There is indeed a MyPlugin.h that is in the same directory as<br>
MyPlugin.cxx. What I think the problem is though is the CMakeLists.txt<br>
is not in the same directory as those source files.<br>
<br>
The setup is like this<br>
..../MyFilter/MyFilter.cxx<br>
..../MyFilter/MyFilter.h<br>
..../MyFilter/CMakeLists.txt<br>
..../MyFilter/plugin/MyFilter.xml<br>
..../MyFilter/plugin/CMakeLists.txt<br>
<br>
The MyFilter CMakeLists SUBDIRS the plugin directory. The<br>
plugin/CMakeLists.txt has<br>
<br>
ADD_PARAVIEW_PLUGIN(MyFilter &quot;1.0&quot;<br>
  SERVER_MANAGER_XML MyFilter.xml<br>
SERVER_MANAGER_SOURCES ../MyFilter.cxx<br>
)<br>
<br>
I think the problem is that it is looking in ..../MyFilter/plugin for<br>
the .h file. Am I misunderstanding? Is there a way to tell it where to<br>
look (in this case, ../)?<br>
<div><div></div><div><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>
</div></div></blockquote></div><br>
</div></div><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>
<br></blockquote></div><br>