[vtkusers] VTK linking problem (vtkTIFF...)

kmudrovcic kmudrovcic at gmail.com
Mon Sep 12 09:54:39 EDT 2011


Hi, i'm trying to compile VTK 5.8.0 with BUILD_SHARED_LIBS ON but sometimes i
get this error message. 

Any help?

Thanks

Link:
39>     Creating library
C:/vtk580/build_shared_release/bin/Release/vtkIO.lib and object
C:/vtk580/build_shared_release/bin/Release/vtkIO.exp
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFClose at 4 referenced in function "public: void __thiscall
vtkTIFFReaderInternal::Clean(void)" (?Clean at vtkTIFFReaderInternal@@QAEXXZ)
39>vtkTIFFWriter.obj : error LNK2001: unresolved external symbol
_vtk_TIFFClose at 4
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFSetWarningHandler at 4 referenced in function "public: __thiscall
vtkTIFFReaderInternal::vtkTIFFReaderInternal(void)"
(??0vtkTIFFReaderInternal@@QAE at XZ)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFSetErrorHandler at 4 referenced in function "public: __thiscall
vtkTIFFReaderInternal::vtkTIFFReaderInternal(void)"
(??0vtkTIFFReaderInternal@@QAE at XZ)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFReadTile at 24 referenced in function "public: virtual void __thiscall
vtkTIFFReader::ReadTiles(void *)" (?ReadTiles at vtkTIFFReader@@UAEXPAX at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk__TIFFfree at 4 referenced in function "protected: void __thiscall
vtkTIFFReader::ReadTwoSamplesPerPixelImage(void *,unsigned int,unsigned
int)" (?ReadTwoSamplesPerPixelImage at vtkTIFFReader@@IAEXPAXII at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFReadScanline at 16 referenced in function "protected: void __thiscall
vtkTIFFReader::ReadTwoSamplesPerPixelImage(void *,unsigned int,unsigned
int)" (?ReadTwoSamplesPerPixelImage at vtkTIFFReader@@IAEXPAXII at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk__TIFFmalloc at 4 referenced in function "protected: void __thiscall
vtkTIFFReader::ReadTwoSamplesPerPixelImage(void *,unsigned int,unsigned
int)" (?ReadTwoSamplesPerPixelImage at vtkTIFFReader@@IAEXPAXII at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFScanlineSize at 4 referenced in function "protected: void __thiscall
vtkTIFFReader::ReadTwoSamplesPerPixelImage(void *,unsigned int,unsigned
int)" (?ReadTwoSamplesPerPixelImage at vtkTIFFReader@@IAEXPAXII at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFReadRGBAImage at 20 referenced in function "public: void __thiscall
vtkTIFFReader::ReadImageInternal(void *,void *,int *,unsigned int)"
(?ReadImageInternal at vtkTIFFReader@@QAEXPAX0PAHI at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFReadDirectory at 4 referenced in function "public: virtual void
__thiscall vtkTIFFReader::ReadVolume(void *)"
(?ReadVolume at vtkTIFFReader@@UAEXPAX at Z)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFSetDirectory at 8 referenced in function "public: int __thiscall
vtkTIFFReaderInternal::Initialize(void)"
(?Initialize at vtkTIFFReaderInternal@@QAEHXZ)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFNumberOfTiles at 4 referenced in function "public: int __thiscall
vtkTIFFReaderInternal::Initialize(void)"
(?Initialize at vtkTIFFReaderInternal@@QAEHXZ)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFIsTiled at 4 referenced in function "public: int __thiscall
vtkTIFFReaderInternal::Initialize(void)"
(?Initialize at vtkTIFFReaderInternal@@QAEHXZ)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFNumberOfDirectories at 4 referenced in function "public: int
__thiscall vtkTIFFReaderInternal::Initialize(void)"
(?Initialize at vtkTIFFReaderInternal@@QAEHXZ)
39>vtkTIFFReader.obj : error LNK2019: unresolved external symbol
_vtk_TIFFOpen at 8 referenced in function "public: int __thiscall
vtkTIFFReaderInternal::Open(char const *)"
(?Open at vtkTIFFReaderInternal@@QAEHPBD at Z)
39>vtkTIFFWriter.obj : error LNK2019: unresolved external symbol
_vtk_TIFFWriteScanline at 16 referenced in function "protected: virtual void
__thiscall vtkTIFFWriter::WriteFile(class std::basic_ofstream<char,struct
std::char_traits<char> > *,class vtkImageData *,int * const)"
(?WriteFile at vtkTIFFWriter@@MAEXPAV?$basic_ofstream at DU?$char_traits at D@std@@@std@@PAVvtkImageData@@QAH at Z)
39>vtkTIFFWriter.obj : error LNK2019: unresolved external symbol
_vtk_TIFFDefaultStripSize at 8 referenced in function "protected: virtual void
__thiscall vtkTIFFWriter::WriteFileHeader(class
std::basic_ofstream<char,struct std::char_traits<char> > *,class
vtkImageData *)"
(?WriteFileHeader at vtkTIFFWriter@@MAEXPAV?$basic_ofstream at DU?$char_traits at D@std@@@std@@PAVvtkImageData@@@Z)
39>vtkTIFFWriter.obj : error LNK2019: unresolved external symbol
_vtk_TIFFClientOpen at 40 referenced in function "protected: virtual void
__thiscall vtkTIFFWriter::WriteFileHeader(class
std::basic_ofstream<char,struct std::char_traits<char> > *,class
vtkImageData *)"
(?WriteFileHeader at vtkTIFFWriter@@MAEXPAV?$basic_ofstream at DU?$char_traits at D@std@@@std@@PAVvtkImageData@@@Z)
39>C:\vtk580\build_shared_release\bin\Release\vtkIO.dll : fatal error
LNK1120: 18 unresolved externals
39>
39>Build FAILED.

--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-linking-problem-vtkTIFF-tp4794274p4794274.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list