[Insight-users] linker error

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Wed Jan 23 18:42:45 EST 2013


Hi Veena,
don't really know whether this will help you (haven'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.

Let us know if this happens to be be the problem or else you found it some
other way.

Kind regardsm
JON HAITZ

<http://www.vicomtech.org/>
Jon Haitz Legarreta GorroñoIkertzailea / Investigador / Researcher
eOsasuna eta Aplikazio Biomedikoak /
eSalud y Aplicaciones Biomedicas / eHealth & Biomedical Applications
Donostia - San Sebastián -
Spain<http://www.vicomtech.es/castellano/html/contacto/index.html>
<http://www.vicomtech.org/>
Tel: +[34] 943 30 92 30jhlegarreta at vicomtech.org
Aviso Legal - Política de
privacidad<http://www.vicomtech.es/castellano/html/informacion_legal/index.html>/
Lege
Oharra - Pribatutasun
politika<http://www.vicomtech.es/euskera/html/informacion_legal/index.html>/
Legal
Notice - Privacy
policy<http://www.vicomtech.es/ingles/html/informacion_legal/index.html>


On 23 January 2013 07:42, Veena M <Veena.M at hcl.com> wrote:

> Hi all,****
>
> I am using MFC with ITK 3.10.1 and VTK 5.2 for image registration.****
>
> It  is running fine in debug mode****
>
> In release mode I am getting the following errors****
>
> ** **
>
> 1>Linking...****
>
> 1>   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
> ****
>
> 1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
> libs; use /NODEFAULTLIB:library****
>
> 1>itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol
> __imp__UuidCreate at 4****
>
> 1>D:\Veena\Image
> registration\Backup_DicomReadRegister\GUI\Optimized\updated_23.1.13\Auomatic_Registration_VTKDLG\Release\vtkDLG.exe
> : fatal error LNK1120: 1 unresolved externals****
>
> 1>Build log was saved at "file://d:\Veena\Image
> registration\Backup_DicomReadRegister\GUI\Optimized\updated_23.1.13\Auomatic_Registration_VTKDLG\vtkDLG\Release\BuildLog.htm"
> ****
>
> 1>vtkDLG - 2 error(s), 1 warning(s)****
>
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> ****
>
> ** **
>
> ** **
>
> Please help me to resolve these errors.****
>
> ** **
>
> Regards,****
>
> Veena****
>
> ** **
>
> ** **
>
>
>
> ::DISCLAIMER::
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error
> please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses
> and other defects.
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130124/e02ce01e/attachment.htm>


More information about the Insight-users mailing list