<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">When you built ITK, did you set the cmake flag USE_VTK or something like that?</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">
<div dir="ltr">Jothybasu K Selvaraj</div><div>Post Doctoral Fellow</div><div>Dept. of Radiotherapy</div><div>Netherlands Cancer Institute-Antoni van Leeuwenhoek</div><div>Amsterdam<br><br></div></div></div>
<br><br><div class="gmail_quote">On Wed, Feb 26, 2014 at 4:25 PM, Barbara Post <span dir="ltr"><<a href="mailto:bpo@eonix.be" target="_blank">bpo@eonix.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR-BE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Only one lib wasn’t found list here :
</span><a href="http://pastebin.com/KUta5iDW" target="_blank"><span lang="EN-US">http://pastebin.com/KUta5iDW</span></a><span lang="EN-US"> :
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">ITKVtkGlue-4.5<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did I miss something when compiling ITK ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">After commenting out this line I got the following error:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">ITKCommon-4.5.lib(itkDynamicLoader.obj):-1: error: LNK2019: unresolved external symbol "public: static struct HINSTANCE__ * __cdecl itksys::DynamicLoader::OpenLibrary(char
const *)" (?OpenLibrary@DynamicLoader@itksys@@SAPEAUHINSTANCE__@@PEBD@Z) referenced in function "public: static struct HINSTANCE__ * __cdecl itk::DynamicLoader::OpenLibrary(char const *)" (?OpenLibrary@DynamicLoader@itk@@SAPEAUHINSTANCE__@@PEBD@Z)<u></u><u></u></span></p>
<div class="">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">--
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Barbara POST
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="tel:%2B32%2065%2F68.02.18" value="+3265680218" target="_blank">+32 65/68.02.18</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="mailto:bpo@eonix.be" target="_blank">bpo@eonix.be</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Insight-users [mailto:<a href="mailto:insight-users-bounces@itk.org" target="_blank">insight-users-bounces@itk.org</a>]
<b>On Behalf Of </b>Barbara Post<br>
<b>Sent:</b> mercredi 26 février 2014 16:00<br>
<b>To:</b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a></span></p><div class=""><br>
<b>Subject:</b> Re: [Insight-users] Hello ITK with Qt Creator issue<u></u><u></u></div><p></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">OK I got the following working so my question is solved for now, thank you very much Jothy because you really helped me and adding lib using wizard
led me to right setup. I didn’t use this wizard before…</span><u></u><u></u></p><div class="">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"># Pass information to Qmake (include path)</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">INCLUDEPATH += $$PWD/../../../../../../ITK/include/ITK-4.5</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">DEPENDPATH += $$PWD/../../../../../../ITK/include/ITK-4.5</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"># Pass information to Qmake (link against)</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">win32: LIBS += -L$$PWD/../../../../../../ITK/lib/ -lITKCommon-4.5</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
</div></div>
</div>
<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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>