I'm assuming you're doing a shared library build so I'm guessing that the source code isn't getting built the way you think it is. You probably want to build with the full output (make VERBOSE=1 or whatever with your build) to see exactly what's getting built and then linked in to the plugin library. Remember since you're only building a library not all of your dependencies have to be included. It's only when you create your executable that it will check to make sure that everything is available. <br>
<br>You may also want to share the output from that as well as your CMakeLists.txt file for the failed version. <br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 7:14 PM, Joshua Murphy <span dir="ltr"><<a href="mailto:Joshua.Murphy@lasp.colorado.edu" target="_blank">Joshua.Murphy@lasp.colorado.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am working on several custom plugins, and I am having a frustrating<br>
problem with the build.<br>
<br>
I am trying to structure my code into the following directories:<br>
<br>
./src<br>
./include<br>
./xml<br>
./ui<br>
<br>
with the CMakeLists.txt file in the root (./)<br>
<br>
When doing this, everything builds just fine, but when trying to load<br>
the plugin in ParaView (4.0.1) I get the following error:<br>
<br>
<br>
<br>
> ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 307<br>
> vtkSISourceProxy (0x13a3e10): Failed to create vtkSpaceCraftInfoSource. Aborting for debugging purposes.<br>
><br>
><br>
> Aborted (core dumped)<br>
<br>
<br>
However, if Everything is in the same directory, it works as expected.<br>
<br>
Now I am fairly new to cmake... so I could be doing something wrong. I am pointing to files in subdirectories with src/<file>, include/<file>, ui/<file>, xml/<file>, etc.<br>
<br>
Is there some other way That I am supposed to be referring to these files? Is there some CMake stuff that needs to go to make this work?<br>
<br>
<br>
Thank You in advance,<br>
Josh<br>
<br>
<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br>