<div dir="ltr">Massi,<div><br></div><div>It may be that your build is mixing some libraries built for Release with other ones built for Debug.</div><div><br></div><div>You may find useful to verify each one of them, and make sure that they have been built with </div>
<div>the same compiler and in the same compilation mode (Debug vs Release).</div><div><br></div><div><br></div><div>     Luis</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 4:27 AM, Massinissa Bandou <span dir="ltr">&lt;<a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I tried to compile a project (win7 x64 vs2010 + itk+vtk+Qt) on release mode<br>
and I got over 190 errors. Can anyone help me how to fix this??<br>
<br>
Massi<br>
<br>
<br>
Error   4       error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itksys-4.4.lib(SystemTools.obj)<br>
TomoRegistration<br>
Error   5       error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itksys-4.4.lib(Directory.obj)<br>
TomoRegistration<br>
Error   6       error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itksys-4.4.lib(RegularExpression.obj)<br>
TomoRegistration<br>
Error   7       error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_svd+double-.obj)<br>
TomoRegistration<br>
Error   8       error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_determinant+double-.obj)<br>
TomoRegistration<br>
Error   9       error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_real_eigensystem.obj)<br>
TomoRegistration<br>
Error   10      error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_symmetric_eigensystem+double-.obj)<br>
TomoRegistration<br>
Error   11      error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_qr+double-.obj)<br>
TomoRegistration<br>
Error   12      error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_vector+double-.obj)<br>
TomoRegistration<br>
Error   13      error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_vector+ulong-.obj)<br>
TomoRegistration<br>
Error   14      error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_matrix+long-.obj)<br>
TomoRegistration<br>
Error   15      error LNK2038: mismatch detected for &#39;_ITERATOR_DEBUG_LEVEL&#39;: value<br>
&#39;2&#39; doesn&#39;t match value &#39;0&#39; in main.obj<br>
C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_matrix+double-.obj)<br>
TomoRegistration<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/ITK-on-release-mode-tp33009.html" target="_blank">http://itk-users.7.n7.nabble.com/ITK-on-release-mode-tp33009.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<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>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
</blockquote></div><br></div>