[Insight-users] problem linking itk

cthulhu at chello.at cthulhu at chello.at
Tue Mar 18 14:00:39 EDT 2008


hello,

i am trying to build my first vtk+itk project, and i run into a linker error which i was not able to correct.

here are the errors (sorry i am using  the german version of msvc7):
itkgdcm.lib(gdcmUtil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_WSAStartup at 8" in Funktion ""int __cdecl gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys at gdcm@@YAHPAE at Z)".
itkgdcm.lib(gdcmUtil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_gethostbyname at 4" in Funktion ""private: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl gdcm::Util::GetIPAddress(void)" (?GetIPAddress at Util@gdcm@@CA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ)".
itkgdcm.lib(gdcmUtil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_gethostname at 8" in Funktion ""private: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl gdcm::Util::GetIPAddress(void)" (?GetIPAddress at Util@gdcm@@CA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ)".
itkgdcm.lib(gdcmUtil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_WSACleanup at 0" in Funktion ""private: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl gdcm::Util::GetIPAddress(void)" (?GetIPAddress at Util@gdcm@@CA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ)".

could anyone explain me which lib i am missing or which other error i am doing.

thanks a lot
c


More information about the Insight-users mailing list