[Insight-users] Insight Applications 1.6 Compile Error

mauricio.inforcati at cenpra.gov.br mauricio.inforcati at cenpra.gov.br
Fri, 5 Mar 2004 16:05:17 Brazil/East


Hi. 
I Updated Insight Applications from CVS with branch ITK-1-6 and I can't 
compile it on my Linux system. 
I use gcc 2.95.3, Insight Toolkit and CableSwig also from ITK-1-6 branch, I 
use VTK 4.2.2 (compiled) and fltk either. Let me report the error message: 
 
*************************************************************************** 
(HOME)/ITK/InsightApplications-binary/LandmarkInitializedMutualInformationRegistration: 
building default_target 
Building object file guiMainImplementation.o... 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:

In method `bool LandmarkSliceViewer<short int>::IsLandmarkAvailable(unsigned 
int)': 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/guiMainImplementation.cxx:462:
  
instantiated from here 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:133:

no matching function for call to 
`vector<itk::SpatialObjectPoint<3>,allocator<itk::SpatialObjectPoint<3> > 
>::at (unsigned int &)' 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:

In method `void LandmarkSliceViewer<short int>::DeleteLandmark(unsigned int)': 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/guiMainImplementation.cxx:469:
  
instantiated from here 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:198:

no matching function for call to 
`vector<itk::SpatialObjectPoint<3>,allocator<itk::SpatialObjectPoint<3> > 
>::at (unsigned int &)' 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:204:

no matching function for call to 
`vector<itk::SpatialObjectPoint<3>,allocator<itk::SpatialObjectPoint<3> > 
>::at (unsigned int &)' 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:205:

no matching function for call to 
`vector<itk::SpatialObjectPoint<3>,allocator<itk::SpatialObjectPoint<3> > 
>::at (unsigned int &)' 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:206:

no matching function for call to 
`vector<itk::SpatialObjectPoint<3>,allocator<itk::SpatialObjectPoint<3> > 
>::at (unsigned int &)' 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:

In method `bool LandmarkSliceViewer<short int>::GetLandmark(unsigned int, 
itk::SpatialObjectPoint<3> &)': 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/guiMainImplementation.cxx:484:
  
instantiated from here 
(HOME)/ITK/InsightApplications/LandmarkInitializedMutualInformationRegistration/LandmarkSliceViewer.txx:148:

no matching function for call to 
`vector<itk::SpatialObjectPoint<3>,allocator<itk::SpatialObjectPoint<3> > 
>::at (unsigned int &)' 
make[3]: *** [guiMainImplementation.o] Error 1 
make[2]: *** [default_target] Error 2 
make[1]: *** [default_target_LandmarkInitializedMutualInformationRegistration] 
Error 2 
make: *** [default_target] Error 2 
 
************************************************************************** 
 
Mauricio Inforcati 
 
<font: 
size=-1></font>


---------------------------------------------
Centro de Pesquisa Renato Archer
http://www.cenpra.gov.br/