<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16636">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p><span id="spnR" oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">Hi,</span></p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);"></span> </p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">I
 have developed a paraview source plugin. This source plugin needs to call few functions which are outside of Paraview. These functions are in C++ and compiled with intel compiler. I am trying to add a library (having these functions) in Paraview to solve my
 purpose.<br>
 <br>
In CMakeLists.txt file of my source plugin, I add two statements:</span></p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">1)
 INCLUDE_DIRECTORIES(<Path ofexternal funcitons>)<br>
2) TARGET_LINK_LIBRARIES(MyPlugin LINK_PUBLIC <full library path with name>)</span></p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);"></span> </p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">After
 doing this, Paraview <strong>compiles successfully</strong>. But when I try to launch Paraview, it
<strong>crashes with segmentation fault</strong>. </span></p>
<span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">
<p><br>
When I comment out the external function call in my source plugin code, then Paraview launches successfully.</p>
<p></span> </p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">Paraview
 is compiled with G++ compiler. Is it a linker problem because my external library is compiled through ICPC(intel c++) but Paraview is compiled with G++? I am working with Ubuntu 12.04. I have tried adding both static (.a) and shared (.so) libraries, but in
 vain.</span></p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);"></span> </p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">Do
 I need to do anything additional in CMakeLists.txt file. Can anybody help here? </span>
</p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);"></span> </p>
<p><span oncontextmenu="_e(this,this.getAttribute("_e_oncontextmenu"), event)" class="rwRRO" title="paraview-developers@paraview.org" ondblclick="_e(this,this.getAttribute("_e_ondblclick"), event)" onclick="_e(this,this.getAttribute("_e_onclick"), event)" _e_onclick="onClkRcp(event);" _dn="paraview-developers@paraview.org" _em="paraview-developers@paraview.org" _sa="paraview-developers@paraview.org" _ao="3" _rt="SMTP" _rf="0" _e_ondblclick="onDblClkReadRcp(event);" _e_oncontextmenu="onRwCm(event);">Thanks,<br>
Prashant</span></p>
</div>
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message.
 Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to
 contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------
</body>
</html>