Matt;<br><br>Could you please give me a link to download ITK3.20.1?<br><br>Sam<br><br><div class="gmail_quote">On Sat, Sep 1, 2012 at 11:42 AM, Matt McCormick <span dir="ltr">&lt;<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sam,<br>
<br>
Please use ITK 3.20.1.<br>
<br>
Thanks,<br>
Matt<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Sep 1, 2012 at 11:24 AM, Sam Sun &lt;<a href="mailto:wxdl.jx@gmail.com">wxdl.jx@gmail.com</a>&gt; wrote:<br>
&gt; Brad;<br>
&gt;<br>
&gt; The enclosed you please find compiling errors I encountered when building<br>
&gt; ITK3.20 on Ubuntu 12.04. make file is generated using cmake 2.8, and<br>
&gt; Ubuntu12.04 was upgraded from ubuntu10.04.<br>
&gt;<br>
&gt; I very appreciate your kind help.<br>
&gt;<br>
&gt; Sam<br>
&gt;<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx: In function ‘bool<br>
&gt; MET_StringToWordArray(const char*, int*, char***)’:<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:800:3: error:<br>
&gt; ‘ptrdiff_t’ was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:800:3: note:<br>
&gt; suggested alternatives:<br>
&gt; /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note:<br>
&gt; ‘std::ptrdiff_t’<br>
&gt; /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note:<br>
&gt; ‘std::ptrdiff_t’<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:800:13: error:<br>
&gt; expected ‘;’ before ‘l’<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:802:13: error:<br>
&gt; expected ‘;’ before ‘p’<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:803:9: error: ‘p’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:803:11: error: ‘l’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:809:13: error:<br>
&gt; expected ‘;’ before ‘pp’<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:811:9: error: ‘pp’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:811:12: error: ‘l’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:824:3: error: ‘pp’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:824:6: error: ‘l’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:840:13: error:<br>
&gt; expected ‘;’ before ‘i’<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:841:7: error: ‘i’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:843:8: error: ‘p’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:849:11: error: ‘p’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:853:5: error: ‘j’<br>
&gt; was not declared in this scope<br>
&gt; /itk/InsightToolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:854:11: error: ‘p’<br>
&gt; was not declared in this scope<br>
&gt; make[2]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o] Error 1<br>
&gt; make[1]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Aug 30, 2012 at 2:51 PM, Bradley Lowekamp &lt;<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; What kind of problem are you running into? Do you have the cmake or<br>
&gt;&gt; compiler error message that you are getting? What Cmake and compiler are you<br>
&gt;&gt; trying to use?<br>
&gt;&gt;<br>
&gt;&gt; I know I have built Silicer4 on Ubuntu 12.04, and that used ITK 3.20. So<br>
&gt;&gt; it&#39;s likely an easy fix. We just need to know more about the problem you are<br>
&gt;&gt; encountering.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Brad<br>
&gt;&gt;<br>
&gt;&gt; On Aug 30, 2012, at 2:39 PM, Sam Sun wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello;<br>
&gt;&gt;<br>
&gt;&gt; I worked on ITK3.20 for a while on Ubuntu 10.04. it worked well.<br>
&gt;&gt;<br>
&gt;&gt; Unfortunately it can&#39;t be built successfully on Ubuntu12.04. I understand<br>
&gt;&gt; we should use latest stable version, but opensource IGSTK 5.0 needs ITK<br>
&gt;&gt; 3.20. could anybody help this and teach me how to fix ITK3.20 on<br>
&gt;&gt; Ubuntu12.04?<br>
&gt;&gt;<br>
&gt;&gt; your kind help is greatly appreciated.<br>
&gt;&gt;<br>
&gt;&gt; Sam<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ========================================================<br>
&gt;&gt;<br>
&gt;&gt; Bradley Lowekamp<br>
&gt;&gt;<br>
&gt;&gt; Medical Science and Computing for<br>
&gt;&gt;<br>
&gt;&gt; Office of High Performance Computing and Communications<br>
&gt;&gt;<br>
&gt;&gt; National Library of Medicine<br>
&gt;&gt;<br>
&gt;&gt; <a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
</div></div></blockquote></div><br>