Hi Everyone
I am a new user to Elastix. I want to use elastix and itk in my c++ code (visual studio 2015). I built ITK 2.5.0 and elastix (with cmake & VS2015), then include their header files to my project. While I just use elastix, every thing works fine. But when I use itk functions (for example to read images), I get these errors:
LNK2001 unresolved external symbol gethostbyname (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol gethostname (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol gethostname (itkgdcmCommon-5.2.lib(gdcmSystem.obj))
LNK2001 unresolved external symbol WSAStartup (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol WSAStartup (itkgdcmCommon-5.2.lib(gdcmSystem.obj))
LNK2001 unresolved external symbol WSACleanup (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol WSACleanup (itkgdcmCommon-5.2.lib(gdcmSystem.obj))
LNK2001 unresolved external symbol GetProcessMemoryInfo (itkgdcmCommon-5.2.lib(gdcmSystem.obj))
LNK2001 unresolved external symbol __imp_SymGetLineFromAddr64 (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol __imp_SymInitialize (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol __imp_SymFromAddr (itksys-5.2.lib(SystemInformation.obj))
LNK2001 unresolved external symbol __imp_UuidCreate (itkgdcmMSFF-5.2.lib(gdcmUIDGenerator.obj))
I appreciate if you could help me.
Thanks in advance.
Best Regards
Maryam