<div dir="ltr">Hi Utkarsh,<div>Thanks for the suggestions. <br><div>My goal is to build my .so and use it with any binaries downloaded from <a href="http://paraview.org">paraview.org</a>. What is the best way to generate my own .so plugin which can be used with any paraview distribution (either locally build or binary downloaded from <a href="http://praview.org">praview.org</a>)?</div><div><br></div><div>Thanks,</div><div>Chiranjib</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 14, 2015 at 11:11 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try doing a "make install" with CMAKE_INSTALL_PREFIX set to some<br>
temporary location. That should strip the paths on the plugin. Note,<br>
however that you can only load this plugin on a build of ParaView<br>
built similarly i.e. it won't work on the ParaView binaries downloaded<br>
from <a href="http://paraview.org" target="_blank">paraview.org</a><br>
<div><div class="h5"><br>
On Tue, Apr 14, 2015 at 6:44 AM, Chiranjib Sur <<a href="mailto:sur.chiranjib@gmail.com">sur.chiranjib@gmail.com</a>> wrote:<br>
> Hi All,<br>
> I am trying to create a plugin with an intention to use with Paraview in any<br>
> machine (just by loading the .so file from Tools>Manage Plugins..).<br>
> To do that, I need to build the .so file without any hard link.<br>
><br>
> Can anyone tell me how to do that ? There might be an answer from the<br>
> earlier mailing list archive. If so, kindly point me towards that.<br>
><br>
> I am following the following steps :<br>
> 1. Download ParaView-4.3.1 (git clone..)<br>
> 2. Create a build directory<br>
> 3. Add my plugin under Examples/Plugins<br>
> 4. Run cmake from the build directory<br>
> 5. Run make for my plugin and a .so is created (e.g. : named as :<br>
> myplugin.so)<br>
><br>
> This myplugin.so contains hard link to different locations linked to my<br>
> system/userID which I want to remove so that the .so file become portable<br>
> and loaded from any machine with same level of system software.<br>
><br>
> Thanking you in advance for the help.<br>
><br>
> Chiranjib<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Search the list archives at:<br>
> <a href="http://markmail.org/search/?q=Paraview-developers" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
><br>
</blockquote></div><br></div>