[Insight-users] how to compile?

Alberto Bert abert at mauriziano . it
Thu, 29 Aug 2002 11:03:28 +0200


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

On Wed, Aug 28, 2002 at 11:58:13AM -0400, Luis Ibanez wrote:
> 
> Hi Alberto,
> 
> Could you please give us more details about
> how you set up your system ?
> 
> - What version of CMake you are using ?
>  (1.4 patch 3 is the recommended one)
> 
> Do you have several CMake versions in your disk ?
> 
> At first sight it may look as a mixture of
> components from different cmake versions...
> 
> 
> Thanks
> 
> 
> Luis
> 
> ==========================================
> 
> Alberto Bert wrote:
> >Hi all,
> >
> >again here...
> >
> >I checked out, right now, itk (Insight dir) for the first time (I was 
> >using the beta 1
> >release.)
> >I've tryed to compile it just as I did with the beta1, but
> >$ ccmake ../Insight
> >gives immediately a segmentation fault.
> >
> >I hope someone (thanks Luis ;-) can help me,
> >Alberto
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-users
> >
> >
> 
> 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users