<div dir="ltr"><div>The examples work with both ITKv3 and ITKv4. If you are using ITKv3, them you must also download and build the glue code separately as described at the bottom of the example page:<br><a href="http://itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter">http://itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter</a><br>
<br></div>Bill<br><br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 9:42 AM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mahyar,<br>
<br>
Please keep replies on the mailing list.<br>
<br>
Make it is ITK version 4.X and that the CMake Advanced options are shown.<br>
<br>
HTH,<br>
Matt<br>
<br>
On Fri, May 17, 2013 at 2:02 AM, Mahyar Osanlouy<br>
<<a href="mailto:m.osanlouy@auckland.ac.nz">m.osanlouy@auckland.ac.nz</a>> wrote:<br>
> Thank you Matt,<br>
><br>
> The problem is I do not have the option of Module_ITKVtkGlue<br>
><br>
> Do you know what could be wrong?<br>
><br>
> Cheers,<br>
> Mahyar<br>
<div class="im">><br>
> -----Original Message-----<br>
> From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>]<br>
> Sent: Friday, 17 May 2013 4:26 p.m.<br>
> To: Mahyar Osanlouy<br>
> Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
> Subject: Re: [Insight-users] I need itkvtkglue<br>
><br>
> Hi Mahyar,<br>
><br>
> In your CMake configure, sot<br>
><br>
> Module_ITKVtkGlue to ON.<br>
><br>
> Hope this helps,<br>
> Matt<br>
><br>
> On Thu, May 16, 2013 at 7:13 PM, Mahyar Osanlouy <<a href="mailto:m.osanlouy@auckland.ac.nz">m.osanlouy@auckland.ac.nz</a>> wrote:<br>
>> Hi,<br>
>><br>
>><br>
>><br>
>> I have built ITK and VTK in CMake.<br>
>><br>
>> I was trying to run an example of BinaryThresholdingImageFilter, I<br>
>> generated the bin for this example by cmake.<br>
>><br>
>> When I tried to build the sln in VS 10, it gave me the following error:<br>
>><br>
>><br>
>><br>
>> 2>BinaryThresholdImageFilter.obj : error LNK2019: unresolved external<br>
</div>>> 2>symbol<br>
<div class="im">>> "public: void __thiscall QuickView::Visualize(bool)"<br>
>> (?Visualize@QuickView@@QAEX_N@Z) referenced in function _main<br>
>><br>
>> 2>BinaryThresholdImageFilter.obj : error LNK2019: unresolved external<br>
</div>>> 2>symbol<br>
<div class="HOEnZb"><div class="h5">>> "public: void __thiscall QuickView::AddImage<class itk::Image<unsigned<br>
>> char,2> >(class itk::Image<unsigned char,2> *,bool,class<br>
>> std::basic_string<char,struct std::char_traits<char>,class<br>
>> std::allocator<char> >)"<br>
>> (??$AddImage@V?$Image@E$01@itk@@@QuickView@@QAEXPAV?$Image@E$01@itk@@_<br>
>> NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)<br>
>> referenced in function _main<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Can you help me please?<br>
>><br>
>><br>
>><br>
>> I also think that I have some problem with the itkvtkglue.<br>
>><br>
>> Do you have a link that I can download the itkvtkglue for win 7 64bit<br>
>> please?<br>
>><br>
>><br>
>><br>
>> Thank you very much,<br>
>><br>
>><br>
>><br>
>> Regards<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Mahyar Osanlouy<br>
>><br>
>> Lungs and Respiratory System Group<br>
>><br>
>> Auckland Bioengineering Institute<br>
>><br>
>> The University of Auckland<br>
>><br>
>><br>
>><br>
>><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>
_____________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>