Good news, everything works finally. I found a way to make Paraview find
the necessary ITK libraries.
By chance I found some cmake related postings where there was some
problem with the LINK_LIBRARIES variable. I was like "Gee, this variable
looks nice! It could replace my TARGET_LINK_LIBRARIE
Hmm, I don't see how I can provide this information to my compiler since
the usual way outside ParaView is to have a CMakeList which contains
something like this
TARGET_LINK_LIBRARIES( vtkITKImageBox
ITKCommon ITKIO
vtkCommon vtkIO
)
But when I do this in my ParaView-Plugin CMakeList, I ge
I am guessing you are missing some link library from itk that would
bring in the LightObject.
Utkarsh
On Wed, Feb 24, 2010 at 12:11 PM, Christian Werner
wrote:
> Well well, here comes the error messages:
>
> Attempting to load /home/christian/.paraview-plugins/libSampleImageFilter.so
> Failed to
Well well, here comes the error messages:
Attempting to load
/home/christian/.paraview-plugins/libSampleImageFilter.so
Failed to load the shared library.
/home/christian/.paraview-plugins/libSampleImageFilter.so: undefined
symbol: _ZN3itk11LightObject6DeleteEv
Seems to be a ITK thing. I real
I am assuming this is with CVS head ParaView. Try setting the
environment variable PV_PLUGIN_DEBUG before launching ParaView. It
should print more information as to why the plugin verification data
mismatched.
Just to be sure, you are building and loading the plugin into the same
version of ParaVi
Good point but sadly this didn't help. I keep getting the same error
messages.
ls -l $(echo $LD_LIBRARY_PATH)
...
-rwxr-xr-x 1 christian christian 9361220 2010-02-24 13:46
libvtkITKImageBox.so
Paul Edwards wrote:
Is your vtkITKImageBox library in the LD_LIBRARY_PATH when paraview is
launch
Is your vtkITKImageBox library in the LD_LIBRARY_PATH when paraview is
launched?
Regards,
Paul
On 24 February 2010 12:10, Christian Werner wrote:
> Attaching the CMakeLists.txt might be interesting, too...
>
>
>
>
> # create a paraview plugin containing server manager xml and the server
> # man
Attaching the CMakeLists.txt might be interesting, too...
# create a paraview plugin containing server manager xml and the server
# manager classes to build
# this plugin can be loaded on the server side
cmake_minimum_required(VERSION 2.4)
PROJECT(vtkITKSampleImageFilter)
INCLUDE("/home/chri
Hello!
Yes, I keep coming with these standard problems. :( Now that my plugin
compiles, I get the above error message (or sometimes a "... is not a
valid QT plugin").
I have read about having to add these TypeRevisionMacro calls, but that
did not help in my case. I attached both .h and .cxx fi