[Insight-users] Re: error LNK2001

Luis Ibanez luis.ibanez at kitware.com
Thu Dec 14 15:29:07 EST 2006



Hi Ekta,

1) What version of ITK are you using ?
2) What compiler version are you using ?
3) What version of CMake are you using ?
3) Are you compiling for Debug or Release ?


Please let us know,


   Thanks


     Luis


---------------
Ekta Amar wrote:
> Hi Luis,
>  
> I just started working in ITK. I tried my best to locate the linking 
> error while building the "Examples". Everything went fine exept some 
> files in Regstration. They are showing me following error, I'm tired 
> sorting out what went work, Please help me.
>  
> RegistrationExamples8: error LNK2001: unresolved external symbol 
> "public: virtual double __thiscall vnl_unary_function<double,class 
> vnl_vector<double> >::get_range_max(void)const " 
> (?get_range_max@?$vnl_unary_function at NV?$vnl_vector at N@@@@UBENXZ 
> <mailto:?get_range_max@?$vnl_unary_function at NV?$vnl_vector at N@@@@UBENXZ>)
>  
> RegistrationExamples8: error LNK2001: unresolved external symbol 
> "public: virtual double __thiscall vnl_unary_function<double,class 
> vnl_vector<double> >::get_range_min(void)const " 
> (?get_range_min@?$vnl_unary_function at NV?$vnl_vector at N@@@@UBENXZ 
> <mailto:?get_range_min@?$vnl_unary_function at NV?$vnl_vector at N@@@@UBENXZ>)
> 
> The files giving me error are:
>  
> 1. RegistrationExamples8.cxx
> 2. RegistrationExamples6.cxx
> 3. ImageRegistration17.cxx
> 4. ImageRegistration16.cxx
> 5. ImageRegistration10.cxx
> 6. DeformableRegistration6.cxx
> 7.DeformableRegistration4.cxx
>  
> Please let me know what I've to do.
>  
> Thanks,
> Ekta
>  


More information about the Insight-users mailing list