[Insight-users] vtk-itk linking conflicts
Nacho Larrabide
nacho at lncc.br
Thu Jan 27 12:24:47 EST 2005
Hi vtk-itk users,
I'm trying to compile the latest version of Vtk and Itk but I have
a linking error with repeated libraries.
Please help.
The errors that I get are:
itkpng.lib(png.obj) : error LNK2005: _png_pass_dsp_mask already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pass_mask already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pass_yinc already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pass_ystart already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pass_inc already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pass_start already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_zTXt already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_tRNS already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_tIME already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_tEXt already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_sRGB already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_sPLT already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_sBIT already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pHYs already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_sCAL already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_pCAL already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_oFFs already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_iTXt already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_iCCP already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_hIST already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_gAMA already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_cHRM already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_bKGD already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_PLTE already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_IEND already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_IDAT already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_IHDR already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_sig already defined in vtkpng.lib(png.obj)
itkpng.lib(png.obj) : error LNK2005: _png_libpng_ver already defined in vtkpng.lib(png.obj)
itktiff.lib(tif_win32.obj) : error LNK2005: ___TIFFmalloc already defined in vtktiff.lib(tif_win32.obj)
itktiff.lib(tif_win32.obj) : error LNK2005: ___TIFFfree already defined in vtktiff.lib(tif_win32.obj)
itktiff.lib(tif_win32.obj) : error LNK2005: __TIFFerrorHandler already defined in vtktiff.lib(tif_win32.obj)
itktiff.lib(tif_win32.obj) : error LNK2005: __TIFFwarningHandler already defined in vtktiff.lib(tif_win32.obj)
itktiff.lib(tif_dirinfo.obj) : error LNK2005: _tiffDataWidth already defined in vtktiff.lib(tif_dirinfo.obj)
itkzlib.lib(zutil.obj) : error LNK2005: _z_errmsg already defined in vtkzlib.lib(zutil.obj)
itkzlib.lib(inftrees.obj) : error LNK2005: _inflate_copyright already defined in vtkzlib.lib(inftrees.obj)
itkzlib.lib(infutil.obj) : error LNK2005: _inflate_mask already defined in vtkzlib.lib(infutil.obj)
itkjpeg.lib(jerror.obj) : error LNK2005: _jpeg_std_message_table already defined in vtkjpeg.lib(jerror.obj)
itkjpeg.lib(jutils.obj) : error LNK2005: _jpeg_natural_order already defined in vtkjpeg.lib(jutils.obj)
vtkzlib.lib(deflate.obj) : error LNK2005: _deflate_copyright already defined in itkzlib.lib(deflate.obj)
vtkzlib.lib(trees.obj) : error LNK2005: __length_code already defined in itkzlib.lib(trees.obj)
vtkzlib.lib(trees.obj) : error LNK2005: __dist_code already defined in itkzlib.lib(trees.obj)
itkpng.lib(png.obj) : warning LNK4006: _png_pass_dsp_mask already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pass_mask already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pass_yinc already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pass_ystart already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pass_inc already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pass_start already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_zTXt already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_tRNS already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_tIME already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_tEXt already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_sRGB already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_sPLT already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_sBIT already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pHYs already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_sCAL already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_pCAL already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_oFFs already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_iTXt already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_iCCP already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_hIST already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_gAMA already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_cHRM already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_bKGD already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_PLTE already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_IEND already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_IDAT already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_IHDR already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_sig already defined in vtkpng.lib(png.obj); second definition ignored
itkpng.lib(png.obj) : warning LNK4006: _png_libpng_ver already defined in vtkpng.lib(png.obj); second definition ignored
itktiff.lib(tif_win32.obj) : warning LNK4006: ___TIFFmalloc already defined in vtktiff.lib(tif_win32.obj); second definition ignored
itktiff.lib(tif_win32.obj) : warning LNK4006: ___TIFFfree already defined in vtktiff.lib(tif_win32.obj); second definition ignored
itktiff.lib(tif_win32.obj) : warning LNK4006: __TIFFerrorHandler already defined in vtktiff.lib(tif_win32.obj); second definition ignored
itktiff.lib(tif_win32.obj) : warning LNK4006: __TIFFwarningHandler already defined in vtktiff.lib(tif_win32.obj); second definition ignored
itktiff.lib(tif_dirinfo.obj) : warning LNK4006: _tiffDataWidth already defined in vtktiff.lib(tif_dirinfo.obj); second definition ignored
itkzlib.lib(zutil.obj) : warning LNK4006: _z_errmsg already defined in vtkzlib.lib(zutil.obj); second definition ignored
itkzlib.lib(inftrees.obj) : warning LNK4006: _inflate_copyright already defined in vtkzlib.lib(inftrees.obj); second definition ignored
itkzlib.lib(infutil.obj) : warning LNK4006: _inflate_mask already defined in vtkzlib.lib(infutil.obj); second definition ignored
itkjpeg.lib(jerror.obj) : warning LNK4006: _jpeg_std_message_table already defined in vtkjpeg.lib(jerror.obj); second definition ignored
itkjpeg.lib(jutils.obj) : warning LNK4006: _jpeg_natural_order already defined in vtkjpeg.lib(jutils.obj); second definition ignored
vtkzlib.lib(deflate.obj) : warning LNK4006: _deflate_copyright already defined in itkzlib.lib(deflate.obj); second definition ignored
vtkzlib.lib(trees.obj) : warning LNK4006: __length_code already defined in itkzlib.lib(trees.obj); second definition ignored
vtkzlib.lib(trees.obj) : warning LNK4006: __dist_code already defined in itkzlib.lib(trees.obj); second definition ignored
Regards,
Nacho
-----------------------------------------------------
Nacho Larrabide
Rua Getulio Vargas 333 - Quitandinha - CEP: 25651-070
Petropolis - RJ - Brasil
Tel: +54 24 2233-6137 - Fax: +54 24 2233-6167
mailto:nacho at lncc.br
-----------------------------------------------------
More information about the Insight-users
mailing list