[Insight-users] _TIFFerrorHandlerExt already defined in vtktiff.lib

Dženan Zukić dzenanz at gmail.com
Mon Sep 12 10:47:35 EDT 2011


Hi guys,

I just updated my ITK4 git repository (I had maybe a month old version
previously). ITK itself compiles without issues, but my project gets some
linking errors.

For Debug there is one error:
LINK : fatal error LNK1104: cannot open file
'D:\SDK\ITK4build\lib\Debug\ITKgiftiio-4.0.lib'

For Release these two errors appear:
itktiff-4.0.lib(tif_error.obj) : error LNK2005: _TIFFerrorHandlerExt already
defined in vtktiff.lib(tif_error.obj)
itktiff-4.0.lib(tif_warning.obj) : error LNK2005: _TIFFwarningHandlerExt
already defined in vtktiff.lib(tif_warning.obj)

For RelWithDebInfo these two errors appear:
itktiff-4.0.lib(tif_error.obj) : error LNK2005: _TIFFerrorHandlerExt already
defined in vtktiff.lib(tif_error.obj)
itktiff-4.0.lib(tif_warning.obj) : error LNK2005: _TIFFwarningHandlerExt
already defined in vtktiff.lib(tif_warning.obj)

Both ITK and VTK are compiled as static libraries. VTK version is 5.6.1.

Can anyone confirm this, and are there suggestions for a solution?

Regards,
Dženan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110912/fde9591e/attachment.htm>


More information about the Insight-users mailing list