<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Swetha,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">are you using CMake to configure you wrapper "application", or are you manually listing all the libraries? Manual enumeration is very error-prone (some parts of GDCM seem to be missing). If so, try configuring one example application using CMake to see which libraries get linked to it. Here is a part of list on my computer which contains "gdcm", copy pasted from Visual Studio project properties->linker->input->additional dependencies:</div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmDICT-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmMSFF-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\ITKIOGDCM-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmIOD-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmDSED-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmCommon-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmjpeg8-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmjpeg12-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmjpeg16-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmopenjpeg-4.11.lib</font></div><div class="gmail_default"><font face="monospace, monospace">C:\Dev\ITK-2015\lib\Debug\itkgdcmcharls-4.11.lib</font></div><div style="font-family:verdana,sans-serif"><br></div></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Are you trying to link a C# library into a C++ application or the other way around?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 6:37 AM, swetha <span dir="ltr"><<a href="mailto:swetha.bsharma@gmail.com" target="_blank">swetha.bsharma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
  I have developed an application using itk and I am trying to integrate it<br>
with c#.I have written a wrapper ,in the wrapper application I have included<br>
all ITK .libs in the linker input tab.I am still getting unresolved external<br>
errors. These are the errors which I am getting:<br>
<br>
<br>
Error   4       error LNK2019: unresolved external symbol __imp__UuidCreate@4<br>
referenced in function "protected: static bool __cdecl<br>
gdcm::UIDGenerator::<wbr>GenerateUUID(unsigned char *)"<br>
(?GenerateUUID@UIDGenerator@<wbr>gdcm@@KA_NPAE@Z)<br>
\ObliquePlaneWrapper\<wbr>itkgdcmMSFF-4.9.lib(<wbr>gdcmUIDGenerator.obj)<br>
ObliquePlaneWrapper<br>
<br>
<br>
Error   2       error LNK2019: unresolved external symbol _gethostname@8 referenced<br>
in function "public: static bool __cdecl gdcm::System::GetHostName(char *<br>
const)" (?GetHostName@System@gdcm@@SA_<wbr>NQAD@Z)<br>
\ObliquePlaneWrapper\<wbr>itkgdcmCommon-4.9.lib(<wbr>gdcmSystem.obj)<br>
ObliquePlaneWrapper<br>
<br>
Error   1       error LNK2019: unresolved external symbol _WSACleanup@0 referenced<br>
in function "public: static bool __cdecl gdcm::System::GetHostName(char *<br>
const)" (?GetHostName@System@gdcm@@SA_<wbr>NQAD@Z)<br>
\ObliquePlaneWrapper\<wbr>itkgdcmCommon-4.9.lib(<wbr>gdcmSystem.obj)<br>
ObliquePlaneWrapper<br>
<br>
Error   3       error LNK2019: unresolved external symbol _WSAStartup@8 referenced<br>
in function "public: static bool __cdecl gdcm::System::GetHostName(char *<br>
const)" (?GetHostName@System@gdcm@@SA_<wbr>NQAD@Z)<br>
\ObliquePlaneWrapper\<wbr>itkgdcmCommon-4.9.lib(<wbr>gdcmSystem.obj)<br>
ObliquePlaneWrapper<br>
<br>
<br>
How do i fix these errors?<br>
-swetha<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/C-wrapper-ITk-unresolved-external-symbol-issues-tp7589328.html" rel="noreferrer" target="_blank">http://itk-insight-users.<wbr>2283740.n2.nabble.com/C-<wbr>wrapper-ITk-unresolved-<wbr>external-symbol-issues-<wbr>tp7589328.html</a><br>
Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>