<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:10pt">Thanks<br><br>Now the problem is fixed for DicomImageReadWrite program, but in future, if i run other examples, will it miss linking those files from windows SDK and result error?? as i cant figure out those in details??<br>Is there anyway to include all other *.lib files from Windows SDK in visual studio for all other projects?<br><br><div><br></div><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> ALBERT Aurélien <aurelien.albert@alyotech.fr><br><b><span style="font-weight: bold;">To:</span></b> John Drescher <drescherjm@gmail.com>; Chanukya Krishna Chama <chanukya_chess@yahoo.co.in><br><b><span
style="font-weight: bold;">Cc:</span></b> "insight-users@itk.org" <insight-users@itk.org><br><b><span style="font-weight: bold;">Sent:</span></b> Wed, 4 August, 2010 6:43:47 PM<br><b><span style="font-weight: bold;">Subject:</span></b> RE: [Insight-users] DicomImageReadWrite error itkgdcm.lib(gdcmUtil.obj) : error LNK2019<br></font><br>You have to link your project with :<br><br>snmpapi.lib<br>rpcrt4.lib<br>wsock32.lib<br><br>These libs are from Windows SDK.<br><br><br><br><br>-----Message d'origine-----<br>De : <a ymailto="mailto:insight-users-bounces@itk.org" href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a> [mailto:<a ymailto="mailto:insight-users-bounces@itk.org" href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a>] De la part de John Drescher<br>Envoyé : mercredi 4 août 2010 13:47<br>À : Chanukya Krishna Chama<br>Cc : <a ymailto="mailto:insight-users@itk.org"
href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Objet : Re: [Insight-users] DicomImageReadWrite error itkgdcm.lib(gdcmUtil.obj) : error LNK2019<br><br>On Wed, Aug 4, 2010 at 6:14 AM, Chanukya Krishna Chama<br><<a ymailto="mailto:chanukya_chess@yahoo.co.in" href="mailto:chanukya_chess@yahoo.co.in">chanukya_chess@yahoo.co.in</a>> wrote:<br>> I'm using ITK 3.20 & Visual Studio 2010 along with cmake to run sample<br>> DicomImageReadWrite example program in ITK folder.<br>><br>> After including all the *.lib files in ITK\lib\ in Input of Linker in<br>> visual studio, i'm getting the below error while debugging<br>><br>> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol<br>> _SnmpUtilVarBindFree@4 referenced in function "int __cdecl<br>> gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys@gdcm@@YAHPAE@Z)<br>><br>> How to remove this error ?<br>><br><br>I would
start by generating your visual studio projects using CMake.<br>After you become an expert at that then you can use itk the hard way.<br><br>John<br>_____________________________________<br><span>Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br></div></div>
</div><br></body></html>