[Paraview] Compiling Plugins for the Binary Release

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Feb 24 08:30:48 EST 2012


Can you post the CMakeCache.txt file you're using for building the
plugin? For linux which super build did you use? The linux binaries
were built using the following repo (checkout tag v3.14.0) :

https://gitorious.org/paraview-collaboration/paraview-binaries-superbuild

To influence the search path, you can use INSTALL_RPATH
(http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:set_target_properties),
however that's still won't help unless you know exactly where your
users are going to install ParaView. Users either have to set
LD_LIBRARY PATH, or simply put all the .so files under
<..>/lib/paraview3.14/ directory.

Utkarsh

On Fri, Feb 24, 2012 at 6:50 AM, Oliver Behm <oliverbehm at googlemail.com> wrote:
> Hello,
>
> I am currently trying to compile a rather simple reader plugin so that
> it works with the binary release (Linux, 64 Bit, 3.12).
>
> To this end I compiled the paraview sources with the SuperBuild function,
> which seams to have worked just fine. But when I compile any plugins
> using this build the resulting library is linked against libpng 1.5 from the
> SuperBuild folder as well as libpng 1.2 from the system paths.
>
> Since we don't have libpng 1.5 installed globally it would be very nice
> if I could prevent the plugin from linking it? Is that possible?
>
> I don't really see how this library can be necessary since the binary
> distribution of paraview does not require it either and I certainly don't
> do anything with my reader that the standard readers don't do too.
>
> Aside from that is there anyway I can easily influence the search paths
> that are compiled into the library? I'd like to set them to the location
> of that libraries that ship with the binary distribution instead of my
> local SuperBuild.
>
> Best regards
> Oliver Behm
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list