[Insight-users] how to compile?

Alberto Bert abert at mauriziano . it
Fri, 30 Aug 2002 09:46:30 +0200


Hi Luis,

I will try with the 3.0 compiler, thanks. How about the 0.7 tar ball?
At the download page of www.itk.org I just find beta1 and beta2 (0.1 and
0.2, I suppose.) I would like to get it, I'm behind a very rigid fire-wall,
so the cvs co is a little complicated.

Bye,
Alberto

On Thu, Aug 29, 2002 at 10:21:15AM -0400, Luis Ibanez wrote:
> 
> Hi Alberto,
> 
> The error message that you posted indicates a bug in
> this version of gcc (2.94.4). The compiler is crashing
> while processing a relatively standard piece of code.
> 
> I would suggest you to upgrade to gcc 3.01 or 3.04
> which are continuously tested on the ITK dashboard:
> http://www.itk.org/Testing/Dashboard/20020829-0500-Nightly/Dashboard.html
> 
> --
> 
> The itk::ConnectedThresholdImageFilter is included
> in the Beta release 0.7. This is the tar ball
> currently available for download.
> 
> The filter is in the BasicFilters directory:
> 
>      Insight/Code/BasicFilters
> 
> You can download the just this filter by using
> the Web access to the CVS repository:
> 
> http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/?cvsroot=Insight
> 
> All the basic filters are available at:
> http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/BasicFilters/?cvsroot=Insight
> 
> The header file for the filter is at:
> http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/BasicFilters/itkConnectedThresholdImageFilter.h?cvsroot=Insight
> and the .txx implementation file is at:
> http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/BasicFilters/itkConnectedThresholdImageFilter.txx?cvsroot=Insight
> 
> 
> Please let us know if you find any problem,
> 
> Thanks
> 
> 
> Luis
> 
> 
> 
> 
> 
> =================================================
> 
> Alberto Bert wrote:
> >Hi Luis,
> >
> >I was using cmake 1.2-2 (debian linux stable), now I've tryed with the 
> >1.4.3-3 version (debian unstable) and
> >works. However it doesn't compile (the bug report is below) using g++ 
> >2:2.95.4-14
> >on Linux 2.4.18
> >
> >Actually, I was mainly interested in the ConnectedThresholdImageFilter.
> >Can you indicate to me the last working version containing
> >ConnectedThresholdImageFilter (if it exists) and how to check out it?
> >If it's impossible, I will try to add the filter on the beta1 version,
> >now working on my workstation.
> >
> >Thanks,
> >Alberto
> >
> >Here is the last part of the make output (bug report):
> >
> >/space/src/itk/co_280802/Insight/Code/Common/itkImageRegionIterator.h: In 
> >method `class itk::ImageRegionIterator<itk::Image<float,2> > & 
> >itk::ImageRegionIterator<itk::Image<float,2> >::operator ++()':
> >/space/src/itk/co_280802/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.txx:215:   instantiated from `itk::CannyEdgeDetectionImageFilter<itk::Image<float,2>,itk::Image<float,2> >::ThreadedCompute2ndDerivative(const itk::ImageRegion<2> &, int)'
> >/space/src/itk/co_280802/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.txx:397:   instantiated from `itk::CannyEdgeDetectionImageFilter<itk::Image<float,2>,itk::Image<float,2> >::Compute2ndDerivativeThreaderCallback(void *)'
> >/space/src/itk/co_280802/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.txx:369:   instantiated from `itk::CannyEdgeDetectionImageFilter<itk::Image<float,2>,itk::Image<float,2> >::Compute2ndDerivative()'
> >/space/src/itk/co_280802/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.txx:444:   instantiated from `itk::CannyEdgeDetectionImageFilter<itk::Image<float,2>,itk::Image<float,2> >::GenerateData()'
> >/space/src/itk/co_280802/Insight/Testing/Code/BasicFilters/itkNullImageToImageFilterDriver.txx:158:   instantiated from here
> >/space/src/itk/co_280802/Insight/Code/Common/itkImageRegionIterator.h:191: 
> >Internal compiler error.
> >/space/src/itk/co_280802/Insight/Code/Common/itkImageRegionIterator.h:191: 
> >Please submit a full bug report.
> >/space/src/itk/co_280802/Insight/Code/Common/itkImageRegionIterator.h:191: 
> >Internal compiler error:
> >/space/src/itk/co_280802/Insight/Code/Common/itkImageRegionIterator.h:191: 
> >See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> >make[7]: *** [itkCannyEdgeDetectionImageFilterTest.o] Error 1
> >make[6]: *** [default_target] Error 2
> >make[5]: *** [default_target_BasicFilters] Error 2
> >make[4]: *** [default_target] Error 2
> >make[3]: *** [default_target_Code] Error 2
> >make[2]: *** [default_target] Error 2
> >make[1]: *** [default_target_Testing] Error 2
> >make: *** [default_target] Error 2
> >
> 
>