[Insight-users] ImageRegistration8 compiling

Mr Spit mrspit08 at gmail.com
Tue Feb 24 04:32:33 EST 2009


Hi,
I'm just starting with ITK and I have problems with compiling this  
example(error below). Moreover I was ask to do registration of an DTI  
image on a Anatomic Image. Could you suggest on what example should I  
base what would be useful?

All ready thank you for help.
TeDe

= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
========================================================================
  "vtable for itk::SingleValuedNonLinearOptimizer", referenced from:
       __ZTVN3itk30SingleValuedNonLinearOptimizerE$non_lazy_ptr in  
ImageRegistration8.cxx.o
   "vtable for itk::Optimizer", referenced from:
       __ZTVN3itk9OptimizerE$non_lazy_ptr in ImageRegistration8.cxx.o
   "itk::Optimizer::Optimizer()", referenced from:
       itk::NonLinearOptimizer::NonLinearOptimizer()in  
ImageRegistration8.cxx.o
   "vtable for itk::CostFunction", referenced from:
       __ZTVN3itk12CostFunctionE$non_lazy_ptr in  
ImageRegistration8.cxx.o
   "typeinfo for itk::CostFunction", referenced from:
       typeinfo for itk::SingleValuedCostFunctionin  
ImageRegistration8.cxx.o
   "itk::Optimizer::PrintSelf(std::basic_ostream<char,  
std::char_traits<char> >&, itk::Indent) const", referenced from:
       vtable for itk::NonLinearOptimizerin ImageRegistration8.cxx.o
   "typeinfo for itk::Optimizer", referenced from:
       typeinfo for itk::NonLinearOptimizerin ImageRegistration8.cxx.o
   "vtable for itk::VersorRigid3DTransformOptimizer", referenced from:
       __ZTVN3itk31VersorRigid3DTransformOptimizerE$non_lazy_ptr in  
ImageRegistration8.cxx.o
   "itk::CostFunction::PrintSelf(std::basic_ostream<char,  
std::char_traits<char> >&, itk::Indent) const", referenced from:
       vtable for itk::SingleValuedCostFunctionin  
ImageRegistration8.cxx.o
       itk::ImageToImageMetric<itk::Image<float, 3u>,  
itk::Image<float, 3u> >::PrintSelf(std::basic_ostream<char,  
std::char_traits<char> >&, itk::Indent) constin ImageRegistration8.cxx.o
   "itk::Optimizer::SetInitialPosition(itk::Array<double> const&)",  
referenced from:
       vtable for itk::NonLinearOptimizerin ImageRegistration8.cxx.o
    
"itk 
::RegularStepGradientDescentBaseOptimizer 
::RegularStepGradientDescentBaseOptimizer()", referenced from:
        
itk 
::VersorRigid3DTransformOptimizer::VersorRigid3DTransformOptimizer()in  
ImageRegistration8.cxx.o
   "vtable for itk::RegularStepGradientDescentBaseOptimizer",  
referenced from:
       __ZTVN3itk39RegularStepGradientDescentBaseOptimizerE 
$non_lazy_ptr in ImageRegistration8.cxx.o
   "itk::Optimizer::SetScales(itk::Array<double> const&)", referenced  
from:
       _main in ImageRegistration8.cxx.o
   "itk::Optimizer::SetCurrentPosition(itk::Array<double> const&)",  
referenced from:
       vtable for itk::NonLinearOptimizerin ImageRegistration8.cxx.o
   "typeinfo for itk::VersorRigid3DTransformOptimizer", referenced from:
       __ZTIN3itk31VersorRigid3DTransformOptimizerE$non_lazy_ptr in  
ImageRegistration8.cxx.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [ImportData] Error 1
make[1]: *** [CMakeFiles/ImportData.dir/all] Error 2
make: *** [all] Error 2
dhcp-8-25-188:Temp tedix86$



More information about the Insight-users mailing list