[Paraview-developers] frustrating CMake problem when building ParaView plugin

Joshua Murphy Joshua.Murphy at lasp.colorado.edu
Thu Aug 1 19:14:33 EDT 2013


Hello,

I am working on several custom plugins, and I am having a frustrating
problem with the build.

I am trying to structure my code into the following directories:

./src
./include
./xml
./ui

with the CMakeLists.txt file in the root (./)

When doing this, everything builds just fine, but when trying to load
the plugin in ParaView (4.0.1) I get the following error:



> ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 307
> vtkSISourceProxy (0x13a3e10): Failed to create vtkSpaceCraftInfoSource. Aborting for debugging purposes.
> 
> 
> Aborted (core dumped)


However, if Everything is in the same directory, it works as expected.

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.

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?


Thank You in advance,
Josh




More information about the Paraview-developers mailing list