[Insight-users] ITK from cvs compiled fine with gcc version 3.3.1 but not with gcc version 3.4.1

Rao Jianguo rao.jianguo at hgu.mrc.ac.uk
Mon Dec 20 11:38:43 EST 2004


Hi Jens,

Many thanks, i surrender too. You are right there's no points to duplicate
other's work.

Jianguo

>Hi Rao!
>
>My hottest tip: Use gcc-3.3. It's no use trying to compile ITK with
>gcc-3.4, because you're duplicating someone else's work. Unless you
>really need to use gcc-3.4, either use gcc-3.3 or wait until the end of
>january. I have stopped trying to compile ITK with gcc-3.4 and have no
>further experience beside the problem with the copy constructor, which
>is the point where I surrendered. For me it was not worth the hassle.
>
>Now to your problem: It probably has to do with name lookup, see:
>http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Name-lookup.html#Name-lookup
>
>I hope this helps, but if you want to keep on trying, please take a look
>at this:
>http://public.kitware.com/pipermail/insight-users/2004-December/011410.html
>
>-- Jens
>
>  
>
>>In file included from 
>>/export/data0/home/ITK/Insight/Code/Common/itkOctree.h:22,
>>                 from 
>>/export/data0/home/ITK/Insight/Code/Common/itkOctreeNode.cxx:10:
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h: In member 
>>function `bool itk::Image<TPixel, 
>>VImageDimension>::TransformPhysicalPointToContinuousIndex(const 
>>itk::Point<TCoordRepB, NPointDimension>&, 
>>itk::ContinuousIndex<TCoordRep, VImageDimension>&) const':
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:289: error: 
>>`m_Origin' undeclared (first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:289: error: (Each 
>>undeclared identifier is reported only once for each function it appears 
>>in.)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:289: error: 
>>`m_Spacing' undeclared(first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h: In member 
>>function `bool itk::Image<TPixel, 
>>VImageDimension>::TransformPhysicalPointToIndex(const 
>>itk::Point<TCoordRepB, NPointDimension>&, typename 
>>itk::ImageBase<VImageDimension>::IndexType&) const':
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:313: error: 
>>`m_Origin' undeclared (first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:313: error: 
>>`m_Spacing' undeclared(first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h: In member 
>>function `void 
>>itk::Image<TPixel,VImageDimension>::TransformContinuousIndexToPhysicalPoint(const 
>>itk::ContinuousIndex<TCoordRep, VImageDimension>&, 
>>itk::Point<TCoordRepB, NPointDimension>&) const':
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:334: error: 
>>`m_Spacing' undeclared(first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:334: error: 
>>`m_Origin' undeclared (first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h: In member 
>>function `void itk::Image<TPixel, 
>>VImageDimension>::TransformIndexToPhysicalPoint(const typename 
>>itk::ImageBase<VImageDimension>::IndexType&, itk::Point<TCoordRepB, 
>>NPointDimension>&) const':
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:350: error: 
>>`m_Spacing' undeclared(first use this function)
>>/export/data0/home/ITK/Insight/Code/Common/itkImage.h:351: error: 
>>`m_Origin' undeclared (                   first use this function)
>>
>>More tips ?
>>    
>>
>
>No.
>
>_______________________________________________
>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