Set BUILD_SHARED_LIBS to ON in CMake.<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 7:48 PM, pratik <span dir="ltr">&lt;<a href="mailto:pratik.mallya@gmail.com">pratik.mallya@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I had built the tensorglyph plugin on my laptop, and it compiled into a shared library(.so), but on doing the same thing on the cluster it is being compiled as a static library(.a)! How to i make it compile share library? I have used the SAME cmake install prefix, that given in the install file that comes along with the plugin.<br>


I tried using -shared as the compiler flag yet got static lib. What is going on here?<br>
<br>
pratik<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>