[Insight-users] Patented Code does not compile and install

bear xgl99 at mails.tsinghua.edu.cn
Tue Dec 7 03:11:17 EST 2004


Hi Luis,
It works well. Thanks!
                                               bear



>From: Luis Ibanez <luis.ibanez at kitware.com>
>Reply-To: 
>To: bear <xgl99 at mails.tsinghua.edu.cn>
>Subject: Re: [Insight-users] Patented Code does not compile and install
>
>
> Hi Bear,
> 
> 
> We just fixed this but (BUG 1310)
> http://www.itk.org/Bug/bug.php?op=show&bugid=1310&pos=11
> 
> It was due to an unnecessary "Code" directory being listed
> by mistake in the file
> 
>        itkIncludeDirectories.cmake
> 
> 
> for the case of an Installed ITK.
> 
> You will have to update your CVS checkout, reconfigure, recompile
> and reinstall ITK. Then reconfigure and recompile InsightApplications.
> 
> 
> Please let us know if you find any problem.
> 
> 
>    Thanks
> 
> 
>        Luis
> 
> 
> 
> 
> ------------------------------------------
> bear wrote:
> 
> > hi Luis,
> >   there is still a minor problem.
> >   Patented Codes are installed to /usr/local/include/InsightToolkit/Patented
> >   but When I run cmake to generate Makefile under InsightApplication
> >   The include path is -I/usr/local/include/InsightToolkit/Code/Patented,
which
> >   cause FuzzyConnectedness, SimpleFuzzyConnectedness and
> > RegionGrowingSegmentation
> >   refuse to compile. Modifying Makefile manually helps.
> >                                                        bear
> > 
> > In your mail:
> > 
> >>From: Luis Ibanez <luis.ibanez at kitware.com>
> >>Reply-To: 
> >>To: Luis Ibanez <luis.ibanez at kitware.com>
> >>Subject: Re: [Insight-users] Patented Code does not compile and install
> >>
> >>
> >>Hi Bear,
> >>
> >>The installation problem for Patented code has been
> >>addressed. A new CMakeLists.txt files is available in
> >>
> >>             Insight/Code/Patented
> >>
> >>and the directory is now include as a SUBDIRS() in the
> >>CMakeLists.txt file in
> >>
> >>                 Insight/Code
> >>
> >>
> >>Bug #1311 has been closed.
> >>http://www.itk.org/Bug/bug.php?op=show&bugid=1311&pos=6
> >>
> >>
> >>Please let us know if you find any problem,
> >>
> >>
> >>   Thanks
> >>
> >>
> >>      Luis
> >>
> >>
> >>
> >>
> >>----------------------
> >>Luis Ibanez wrote:
> >>
> >>
> >>>Hi Bear,
> >>>
> >>>How did you arrived to the conlusion
> >>>that the Patented code does not:
> >>>
> >>>
> >>>           a) Compile  ?
> >>>
> >>>           b) Install  ?
> >>>
> >>>
> >>>About (a),
> >>>There is nothing to compile,
> >>>since all the patented classes are templated:
> >>>
> >>>
> >>>>itkActiveShapeModelCalculator.h
> >>>>itkActiveShapeModelCalculator.txx
> >>>>itkActiveShapeModelGradientSearchMethod.h
> >>>>itkActiveShapeModelGradientSearchMethod.txx
> >>>>itkSimpleFuzzyConnectednessImageFilterBase.h
> >>>>itkSimpleFuzzyConnectednessImageFilterBase.txx
> >>>>itkSimpleFuzzyConnectednessRGBImageFilter.h
> >>>>itkSimpleFuzzyConnectednessRGBImageFilter.txx
> >>>>itkSimpleFuzzyConnectednessScalarImageFilter.h
> >>>>itkSimpleFuzzyConnectednessScalarImageFilter.txx
> >>>>itkVectorFuzzyConnectednessImageFilter.h
> >>>>itkVectorFuzzyConnectednessImageFilter.txx
> >>>
> >>>
> >>>
> >>>They don't get compiled until you instantiate them in
> >>>your own project. Therefore you will not find any
> >>>"Patented" directory in the binary build.  Except for
> >>>the Testing and Examples.
> >>>
> >>>
> >>>
> >>>About (b),
> >>>Did you verified the content of the "include" directory
> >>>where you are installing ITK ?
> >>>
> >>>
> >>>Please let us know so we can track any potential
> >>>configuration/installation bug.
> >>>
> >>>
> >>>   Thanks
> >>>
> >>>
> >>>
> >>>      Luis
> >>>
> >>>
> >>>
> >>>------------
> >>>
> >>>NOTE that you are responsible for obtaining a license
> >>>     in order to use patented code, even if you are
> >>>     using it for research purposes.
> >>>
> >>>
> >>>
> >>>---------------
> >>>bear wrote:
> >>>
> >>>
> >>>>hi,
> >>>>   I am using the cvs version of ITK and I turn ITK_USE_PATENTED on.
> >>>>but the codes under Code/Patented do not compile and install. Why?
> >>>>So build fail when I want the Patented support for InsightApplication
> >>>>                                                               bear
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>Insight-users mailing list
> >>>>Insight-users at itk.org
> >>>>http://www.itk.org/mailman/listinfo/insight-users
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Insight-users mailing list
> >>>Insight-users at itk.org
> >>>http://www.itk.org/mailman/listinfo/insight-users
> >>>
> >>>
> >>
> >>
> >>
> >>
> >>
> > 
> > 
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> > 
> > 
> 
> 
> 
> 
>




More information about the Insight-users mailing list