[Insight-users] Help!ITK link Problem!

Andinet Enquobahrie andinet.enqu at kitware.com
Thu Feb 16 09:05:46 EST 2006


Hello Gu Z.J,

Welcome aboard!

Can you post your cmake (CMakeLists.txt) file? It looks like you are not 
linking the gdcm library..

-Andinet

> Hello,everybody!
> I am a new visitor of ITK.
> I tried to compile an example of registration in"itk\examples\".
> but the VC++ 6 informed me that:
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _SnmpUtilVarBindFree at 4 <mailto:_SnmpUtilVarBindFree at 4>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _SnmpUtilOidNCmp at 12 <mailto:_SnmpUtilOidNCmp at 12>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _SnmpUtilOidCpy at 8 <mailto:_SnmpUtilOidCpy at 8>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _WSAStartup at 8 <mailto:_WSAStartup at 8>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _gethostbyname at 4 <mailto:_gethostbyname at 4>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _gethostname at 8 <mailto:_gethostname at 8>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _WSACleanup at 0 <mailto:_WSACleanup at 0>
>  
> I have added all the lib files into the project,and what's the problems?
> thank you for helping me!
>
> -- 
> Gu Z.J.
> Graduate
> Biomedical Engineering
> Shanghai Jiao Tong University
> E-mail: gzj0126 at gmail.com <mailto:gzj0126 at gmail.com>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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