[Insight-users] help on ITK3.20 on Ubutntu12.04

Sam Sun wxdl.jx at gmail.com
Thu Sep 6 11:21:35 EDT 2012


I has been successfully built on Ubuntu12.04.

Thank you very much for your quick help.

Sam


On Sat, Sep 1, 2012 at 1:13 PM, Matt McCormick
<matt.mccormick at kitware.com>wrote:

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


More information about the Insight-users mailing list