[ITK Community] [Insight-users] ITK on release mode

Luis Ibanez luis.ibanez at kitware.com
Sun Dec 29 12:13:16 EST 2013


Massi,

It may be that your build is mixing some libraries built for Release with
other ones built for Debug.

You may find useful to verify each one of them, and make sure that they
have been built with
the same compiler and in the same compilation mode (Debug vs Release).


     Luis



On Tue, Dec 17, 2013 at 4:27 AM, Massinissa Bandou <
Massinissa.Bandou at usherbrooke.ca> wrote:

> Hello everyone,
>
> I tried to compile a project (win7 x64 vs2010 + itk+vtk+Qt) on release mode
> and I got over 190 errors. Can anyone help me how to fix this??
>
> Massi
>
>
> Error   4       error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itksys-4.4.lib(SystemTools.obj)
> TomoRegistration
> Error   5       error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itksys-4.4.lib(Directory.obj)
> TomoRegistration
> Error   6       error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itksys-4.4.lib(RegularExpression.obj)
> TomoRegistration
> Error   7       error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_svd+double-.obj)
> TomoRegistration
> Error   8       error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
>
> C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_determinant+double-.obj)
> TomoRegistration
> Error   9       error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
>
> C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_real_eigensystem.obj)
> TomoRegistration
> Error   10      error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
>
> C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_symmetric_eigensystem+double-.obj)
> TomoRegistration
> Error   11      error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itkvnl_algo-4.4.lib(vnl_qr+double-.obj)
> TomoRegistration
> Error   12      error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_vector+double-.obj)
> TomoRegistration
> Error   13      error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_vector+ulong-.obj)
> TomoRegistration
> Error   14      error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_matrix+long-.obj)
> TomoRegistration
> Error   15      error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value
> '2' doesn't match value '0' in main.obj
> C:\Users\Massi\Desktop\Software\itkvnl-4.4.lib(vnl_matrix+double-.obj)
> TomoRegistration
>
>
>
>
> --
> View this message in context:
> http://itk-users.7.n7.nabble.com/ITK-on-release-mode-tp33009.html
> Sent from the ITK - 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://www.itk.org/mailman/listinfo/insight-users
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131229/11563381/attachment.html>
-------------- next part --------------
_____________________________________
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://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list