[Insight-users] ask for information
John Drescher
drescherjm at gmail.com
Mon Apr 20 14:43:53 EDT 2009
On Mon, Apr 20, 2009 at 2:39 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Mon, Apr 20, 2009 at 2:34 PM, kongdewen1 kong <kongdewen1 at gmail.com> wrote:
>> Hi,guys. When I am running the program, some mistakes come:
>>
>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
>> _SnmpUtilVarBindFree at 4 referenced in function "int __cdecl
>> gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys at gdcm@@YAHPAE at Z)
>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
>> _SnmpUtilOidNCmp at 12 referenced in function "int __cdecl
>> gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys at gdcm@@YAHPAE at Z)
>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
>> _SnmpUtilOidCpy at 8 referenced in function "int __cdecl
>> gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys at gdcm@@YAHPAE at Z)
>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
>> _WSAStartup at 8 referenced in function "int __cdecl
>> gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys at gdcm@@YAHPAE at Z)
>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
>> __imp__UuidCreate at 4 referenced in function "private: static bool __cdecl
>> gdcm::Util::GenerateUUID(unsigned char *)"
>> (?GenerateUUID at Util@gdcm@@CA_NPAE at Z)
>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
>> _gethostbyname at 4 referenced in function "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: unresolved external symbol
>> _gethostname at 8 referenced in function "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: unresolved external symbol
>> _WSACleanup at 0 referenced in function "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
>>
>
> Looks like
>
> Snmpapi.lib
> http://msdn.microsoft.com/en-us/library/aa378899(VS.85).aspx
>
There are more
Ws2_32.lib
http://msdn.microsoft.com/en-us/library/ms738524(VS.85).aspx
basically google search for what functions are not defined...
BTW, what do you have in your CMakeLitsts.txt that this is not
working? I never play with the link libraries when I use the correct
finders ...
John
More information about the Insight-users
mailing list