[Insight-users] redistribution questions

Luis Ibanez luis.ibanez at kitware.com
Tue Aug 7 09:57:28 EDT 2007


Hi Qing,

Well, the "binary" form of ITK not a real solution either,
since most of ITK is templated code, the libraries contain
a very small portion of the total toolkit.

If you are distributing your application and want others
to be able to rebuild it, then they should have access
to the source code of ITK. Of course, only if they are
trying to rebuild it.

If your users are only going to run your application,
then the simplest way to proceed is to compile ITK
for Statics libraries, and just distribute your executable.

You may also want to take a look at CPack (from CMake)
which is the tool intended for packaging code for distribution.


    Regards,


         Luis


--------------------------------
On 8/6/07, qing xu <qingxu8 at hotmail.com> wrote:
>
> Hi Luis,
>
> Thank you for your suggestion.You are right, it seems that there is little
> difference between incorporting part of or all of the itk source code.
> Maybe
> I will just keep using the binary form of itk.
> Thanks a lot.
>
> Qing
>
>
>
> >From: "Luis Ibanez" <luis.ibanez at kitware.com>
> >To: "qing xu" <qingxu8 at hotmail.com>
> >CC: insight-users at itk.org
> >Subject: Re: [Insight-users] redistribution questions
> >Date: Mon, 6 Aug 2007 13:28:40 -0400
> >
> >Hi Qing,
> >
> >Yes, I'm suggesting that you should include all of ITK with your project.
> >
> >It will be rather difficult to extract only the classes that you are
> using,
> >although it is not impossible.
> >
> >You should ask yourself, what is the purpose of adding to your project
> >the code from ITK ?
> >
> >Why not just say that you distribute the code, and that it should be
> >build using ITK version X.Y. ?
> >
> >Keep in mind that we make ITK releases every three monts,
> >so, by extracting code from ITK you will also face the challenge
> >of updating your version of the code to new releases of ITK.
> >
> >This may o may not be a problem, depending on who are
> >the recipients of the code that you are delivering, and how
> >you are going to maintain that code for the next five to
> >ten years.
> >
> >
> >       Regards,
> >
> >
> >           Luis
> >
> >
> >---------------------------------------------------------------------
> >On 8/6/07, qing xu <qingxu8 at hotmail.com> wrote:
> > >
> > > Hi Luis,
> > >
> > > Thanks a lot for your reply.
> > >
> > > I use the 3d versor rigid registration part of ITK, and now I want to
> > > incorporate the source code of ITK to my project. So, first, I have to
> > > figure out what files in ITK are related to the functions I am using.
> >What
> > > I
> > > am doing now is to check the header files to see what must be included
> >to
> > > implement the registration.  But it seems that there are so many files
> > > related to the registraiton part, is there a easy way to do that?  Are
> >you
> > > suggesting that I should include all the ITK source codes to my
> project?
> > > Thanks.
> > >
> > > Qing
> > >
> > >
> > > >From: "Luis Ibanez" <luis.ibanez at kitware.com>
> > > >To: "qing xu" <qingxu8 at hotmail.com>
> > > >CC: insight-users at itk.org
> > > >Subject: Re: [Insight-users] redistribution questions
> > > >Date: Mon, 6 Aug 2007 12:12:42 -0400
> > > >
> > > >Hi Qing,
> > > >
> > > >Yes, you are allowed (and encouraged)
> > > >to redistribute ITK's source code.
> > > >
> > > >Why are you finding difficult to pack all the code ?
> > > >
> > > >You can just take the tar or .zip file corresponding
> > > >to the ITK release that you are using.
> > > >
> > > >The tar/zip files are available at:
> > > >
> > > >     http://www.itk.org/HTML/Download.php
> > > >
> > > >You could also just use the cvs export command
> > > >and if you are using a particular CVS version of ITK.
> > > >
> > > >
> > > >   Regards,
> > > >
> > > >
> > > >       Luis
> > > >
> > > >
> > > >===========================
> > > >On 8/6/07, qing xu <qingxu8 at hotmail.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I am currently considering incorporating itk source code to my
> > > project.
> > > >I
> > > > > read the copyright notice and seems that it allows me to
> >redistribute
> > > in
> > > > > source code form. But it seems not trivial to find all the related
> > > >source
> > > > > code files. Anyone has done the similar thing? Any suggestion is
> > > >welcome.
> > > > > Thanks.
> > > > >
> > > > > Qing
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Insight-users mailing list
> > > > > Insight-users at itk.org
> > > > > http://www.itk.org/mailman/listinfo/insight-users
> > > > >
> > >
> > > _________________________________________________________________
> > > Tease your brain--play Clink! Win cool prizes!
> > > http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2
> > >
> > >
>
> _________________________________________________________________
> Learn.Laugh.Share. Reallivemoms is right place!
> http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070807/fa74eb7e/attachment.htm


More information about the Insight-users mailing list