<div dir="ltr"><div><div><div>Hi Veena,<br></div>don&#39;t really know whether this will help you (haven&#39;t used MFC with ITK/VTK and the description of the error does not seem quite related), but one of the common mistakes when switching from debug to release is not having built both ITK and VTK in release. Make sure you did it.<br>
 <br></div>Let us know if this happens to be be the problem or else you found it some other way.<br><br></div>Kind regardsm<br>JON HAITZ<br></div><div class="gmail_extra"><br clear="all"><div><table border="0" cellpadding="0" cellspacing="0" align="center">
<tbody><tr><td><table style="border-width:1px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#00abc9" border="0" cellpadding="0" width="100%"><tbody><tr><td style="border-width:1px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#ffffff">
<div align="left"><a href="http://www.vicomtech.org/" target="_blank"><img src="http://www.vicomtech.es/firmas/html/logovicomtech_150.png" longdesc="http://Visual+Interaction+Communication+Technologies" border="0" height="150" width="211"></a></div>
</td><td style="border-width:0px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#00abc9"><div align="center"><img src="http://www.vicomtech.es/firmas/html/barraSinFondo_150.png" border="0" height="150" width="10"></div>
</td><td style="border-width:0px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#00abc9"><table border="0" cellpadding="0" cellspacing="0" width="100%" align="center"><tbody><tr><td><table border="0" cellpadding="0" align="center">
<tbody><tr><td><span style="font-size:10px;color:white;font-family:Verdana,Arial,Helvetica,sans-serif;font-weight:bold">Jon Haitz Legarreta Gorrońo</span></td></tr><tr><td><span style="font-size:10px;color:white;font-family:Verdana,Arial,Helvetica,sans-serif">Ikertzailea / Investigador / Researcher</span></td>
</tr><tr><td>
<span style="font-size:10px;color:white;font-family:Verdana,Arial,Helvetica,sans-serif">
eOsasuna eta Aplikazio Biomedikoak / eSalud y Aplicaciones Biomedicas / eHealth &amp; Biomedical Applications
</span>
</td></tr><tr><td><table border="0" cellpadding="0" width="100%" align="left"><tbody><tr><td><span style="font-size:10px;color:white;font-family:Verdana,Arial,Helvetica,sans-serif"><a href="http://www.vicomtech.es/castellano/html/contacto/index.html" target="_blank">Donostia - San Sebastián - Spain</a></span></td>
<td rowspan="3" style="border-width:0px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#00abc9" align="right"><div align="right"><a href="http://www.vicomtech.org/" target="_blank"><img src="http://www.vicomtech.es/firmas/html/ojo.png" longdesc="http://Visual+Interaction+Communication+Technologies+-+IK4+Research+Alliance" border="0" height="74" width="104"></a></div>
</td></tr><tr><td><span style="font-size:10px;color:white;font-family:Verdana,Arial,Helvetica,sans-serif">Tel: +[34] 943 30 92 30</span></td></tr><tr><td><span style="font-size:10px;color:blue;font-family:Verdana,Arial,Helvetica,sans-serif"><a href="mailto:jhlegarreta@vicomtech.org" target="_blank">jhlegarreta@vicomtech.org</a></span></td>
</tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td><td style="border-width:0px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#00abc9"><div align="center"><img src="http://www.vicomtech.es/firmas/html/barraSinFondo_150.png" border="0" height="150" width="10"></div>
</td><td style="border-width:1px;border-color:#00abc9;border-collapse:collapse;border-style:solid;background-color:#ffffff"><div align="left"><img src="http://www.vicomtech.es/firmas/html/GraphicsMediaNet-IK4_150.png" longdesc="http://International+Network+for+the+Cooperation+in+Applied+Research+in+Computer+Graphics,+Multimoda-Multimedia+Technologies+and+Visual+Interactive+Digital+Media+Technologies+-+IK4+Research+Alliance" usemap="#SafeHtmlFilter_graphicsmedia-ik4" border="0" height="150" width="211"><map name="SafeHtmlFilter_graphicsmedia-ik4"><area shape="rect" coords="0,0,211,75" href="http://www.ik4.es" target="_blank"><area shape="rect" coords="0,75,211,150" href="http://www.graphicsmedia.net/" target="_blank"></map></div>
</td></tr></tbody></table></td></tr><tr><td><table border="0" cellpadding="0" align="center"><tbody><tr><td><span style="font-size:10px;color:gray;font-family:Verdana,Arial,Helvetica,sans-serif"><a href="http://www.vicomtech.es/castellano/html/informacion_legal/index.html" style="color:gray" target="_blank">Aviso Legal - Política de privacidad</a> / <a href="http://www.vicomtech.es/euskera/html/informacion_legal/index.html" style="color:gray" target="_blank">Lege Oharra - Pribatutasun politika</a> / <a href="http://www.vicomtech.es/ingles/html/informacion_legal/index.html" style="color:gray" target="_blank">Legal Notice - Privacy policy</a></span></td>
</tr></tbody></table></td></tr></tbody></table></div>
<br><br><div class="gmail_quote">On 23 January 2013 07:42, Veena M <span dir="ltr">&lt;<a href="mailto:Veena.M@hcl.com" target="_blank">Veena.M@hcl.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal">I am using MFC with ITK 3.10.1 and VTK 5.2 for image registration.<u></u><u></u></p><p class="MsoNormal">
It  is running fine in debug mode<u></u><u></u></p><p class="MsoNormal">In release mode I am getting the following errors<u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;Linking...<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;   Creating library D:\Veena\Image registration\Backup_DicomReadRegister\GUI\Optimized\updated_23.1.13\Auomatic_Registration_VTKDLG\Release\vtkDLG.lib and object D:\Veena\Image registration\Backup_DicomReadRegister\GUI\Optimized\updated_23.1.13\Auomatic_Registration_VTKDLG\Release\vtkDLG.exp<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;LINK : warning LNK4098: defaultlib &#39;MSVCRTD&#39; conflicts with use of other libs; use /NODEFAULTLIB:library<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol __imp__UuidCreate@4<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;D:\Veena\Image registration\Backup_DicomReadRegister\GUI\Optimized\updated_23.1.13\Auomatic_Registration_VTKDLG\Release\vtkDLG.exe : fatal error LNK1120: 1 unresolved externals<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;Build log was saved at &quot;file://d:\Veena\Image registration\Backup_DicomReadRegister\GUI\Optimized\updated_23.1.13\Auomatic_Registration_VTKDLG\vtkDLG\Release\BuildLog.htm&quot;<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">1&gt;vtkDLG - 2 error(s), 1 warning(s)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please help me to resolve these errors.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regards,<u></u><u></u></p><p class="MsoNormal">Veena<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;COLOR:gray;FONT-SIZE:7.5pt">
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><br><br><font style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;COLOR:gray;FONT-SIZE:9px">::DISCLAIMER::<br>----------------------------------------------------------------------------------------------------------------------------------------------------</font></p>

<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;COLOR:gray;FONT-SIZE:11px">The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.<br>
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, <br>lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents <br>
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. <br>Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the <br>
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, <br>distribution and / or publication of this message without the prior written consent of authorized representative of <br>
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. <br>Before opening any email and/or attachments, please check them for viruses and other defects.</font></p>

<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;COLOR:gray;FONT-SIZE:11px">----------------------------------------------------------------------------------------------------------------------------------------------------</font></p>
</span></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" 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" 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.php" target="_blank">http://www.kitware.com/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" 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>
<br></blockquote></div><br></div>