[ITK] [ITK-users] problem integrating an itk application to c#

swetha swetha.bsharma at gmail.com
Thu Sep 29 05:14:24 EDT 2016


Hi,

  I have developed an application using itk and I am trying to integrate it
with c#.I have written a wrapper in c++,in the wrapper application I have
included all ITK .libs in the linker input tab.I am still getting unresolved
external errors. These are the errors which I am getting:


Error	4	error LNK2019: unresolved external symbol __imp__UuidCreate at 4
referenced in function "protected: static bool __cdecl
gdcm::UIDGenerator::GenerateUUID(unsigned char *)"
(?GenerateUUID at UIDGenerator@gdcm@@KA_NPAE at Z)
\ObliquePlaneWrapper\itkgdcmMSFF-4.9.lib(gdcmUIDGenerator.obj)
ObliquePlaneWrapper


Error	2	error LNK2019: unresolved external symbol _gethostname at 8 referenced
in function "public: static bool __cdecl gdcm::System::GetHostName(char *
const)" (?GetHostName at System@gdcm@@SA_NQAD at Z)
\ObliquePlaneWrapper\itkgdcmCommon-4.9.lib(gdcmSystem.obj)
ObliquePlaneWrapper

Error	1	error LNK2019: unresolved external symbol _WSACleanup at 0 referenced
in function "public: static bool __cdecl gdcm::System::GetHostName(char *
const)" (?GetHostName at System@gdcm@@SA_NQAD at Z)
\ObliquePlaneWrapper\itkgdcmCommon-4.9.lib(gdcmSystem.obj)
ObliquePlaneWrapper

Error	3	error LNK2019: unresolved external symbol _WSAStartup at 8 referenced
in function "public: static bool __cdecl gdcm::System::GetHostName(char *
const)" (?GetHostName at System@gdcm@@SA_NQAD at Z)
\ObliquePlaneWrapper\itkgdcmCommon-4.9.lib(gdcmSystem.obj)
ObliquePlaneWrapper


How do i fix these errors?
-swetha




--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/problem-integrating-an-itk-application-to-c-tp7589295.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list