[Insight-users] Problem with ITK exemples - linking error
syssboxx-reg at yahoo.fr
syssboxx-reg at yahoo.fr
Tue May 10 10:08:40 EDT 2005
Hi
I'm new to ITK.
I run to under Windows XP with VSC++ 6,I installed ITKlike it was described,I installed SP5 for VS but when i tried to build some ot the exapmles (ITK\Examples\DataRepresentation\Image\) I have a linking error.Can someone tell me to repair this problem,thanks
there's the error I obtain:
--------------------Configuration: Image2 - Win32 RelWithDebInfo--------------------
Compiling...
Image2.cxx
Linking...
Creating library RelWithDebInfo/Image2.lib and object RelWithDebInfo/Image2.exp
Image2.obj : error LNK2001: unresolved external symbol "public: __thiscall itksys::SystemToolsManager::SystemToolsManager(void)" (??0SystemToolsManager at itksys@@QAE at XZ)
ITKIO.lib(itkAnalyzeImageIO.obj) : error LNK2001: unresolved external symbol "public: __thiscall itksys::SystemToolsManager::SystemToolsManager(void)" (??0SystemToolsManager at itksys@@QAE at XZ)
Image2.obj : error LNK2001: unresolved external symbol "public: __thiscall itksys::SystemToolsManager::~SystemToolsManager(void)" (??1SystemToolsManager at itksys@@QAE at XZ)
ITKIO.lib(itkAnalyzeImageIO.obj) : error LNK2001: unresolved external symbol "public: __thiscall itksys::SystemToolsManager::~SystemToolsManager(void)" (??1SystemToolsManager at itksys@@QAE at XZ)
Image2.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl itksys::SystemTools::FileExists(char const *)" (?FileExists at SystemTools@itksys@@SA_NPBD at Z)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: __thiscall itkdicomparser::DICOMAppHelper::DICOMAppHelper(void)" (??0DICOMAppHelper at itkdicomparser@@QAE at XZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: __thiscall itkdicomparser::DICOMParser::DICOMParser(void)" (??0DICOMParser at itkdicomparser@@QAE at XZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall itkdicomparser::DICOMParser::OpenFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?OpenFile at D
ICOMParser at itkdicomparser@@QAE_NABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: static bool __cdecl itkdicomparser::DICOMParser::IsDICOMFile(class itkdicomparser::DICOMSource &)" (?IsDICOMFile at DICOMParser@itkdicomparser@@SA_NAAVDICOMSource at 2@@Z
)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: void __thiscall itkdicomparser::DICOMAppHelper::Clear(void)" (?Clear at DICOMAppHelper@itkdicomparser@@QAEXXZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: void __thiscall itkdicomparser::DICOMAppHelper::GetImageData(void * &,enum itkdicomparser::DICOMParser::VRTypes &,unsigned long &)" (?GetImageData at DICOMAppHelper@it
kdicomparser@@QAEXAAPAXAAW4VRTypes at DICOMParser@2 at AAK@Z)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall itkdicomparser::DICOMParser::ReadHeader(void)" (?ReadHeader at DICOMParser@itkdicomparser@@QAE_NXZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: void __thiscall itkdicomparser::DICOMParser::ClearAllDICOMTagCallbacks(void)" (?ClearAllDICOMTagCallbacks at DICOMParser@itkdicomparser@@QAEXXZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall itkdicomparser::DICOMAppHelper::RescaledImageDataIsFloat(void)" (?RescaledImageDataIsFloat at DICOMAppHelper@itkdicomparser@@QAE_NXZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall itkdicomparser::DICOMAppHelper::RescaledImageDataIsSigned(void)" (?RescaledImageDataIsSigned at DICOMAppHelper@itkdicomparser@@QAE_NXZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: __thiscall vnl_vector<float>::vnl_vector<float>(unsigned int)" (??0?$vnl_vector at M@@QAE at I@Z)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: __thiscall vnl_vector<float>::~vnl_vector<float>(void)" (??1?$vnl_vector at M@@QAE at XZ)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: class vnl_vector<float> & __thiscall vnl_vector<float>::operator=(class vnl_vector<float> const &)" (??4?$vnl_vector at M@@QAEAAV0 at ABV0@@Z)
ITKIO.lib(itkDICOMImageIO2.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall vnl_vector<float>::set_size(unsigned int)" (?set_size@?$vnl_vector at M@@QAE_NI at Z)
ITKIO.lib(itkAnalyzeImageIO.obj) : error LNK2001: unresolved external symbol "public: static bool __cdecl itksys::SystemTools::RemoveFile(char const *)" (?RemoveFile at SystemTools@itksys@@SA_NPBD at Z)
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_read_header
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_stdio_src
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_CreateDecompress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_destroy_decompress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_std_error
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_finish_decompress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_read_scanlines
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_start_decompress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_calc_output_dimensions
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_finish_compress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_write_scanlines
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_start_compress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_simple_progression
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_set_quality
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_set_defaults
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_stdio_dest
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_CreateCompress
ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external symbol _itk_jpeg8_jpeg_destroy_compress
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall MetaImage::~MetaImage(void)" (??1MetaImage@@UAE at XZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "bool __cdecl MET_SystemByteOrderMSB(void)" (?MET_SystemByteOrderMSB@@YA_NXZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: __thiscall MetaImage::MetaImage(void)" (??0MetaImage@@QAE at XZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MetaImage::ElementDataFileName(char const *)" (?ElementDataFileName at MetaImage@@QAEXPBD at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: enum MET_OrientationEnumType __thiscall MetaObject::AnatomicalOrientation(int)const " (?AnatomicalOrientation at MetaObject@@QBE?AW4MET_OrientationEnumType@@H at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: double __thiscall MetaObject::Position(int)const " (?Position at MetaObject@@QBENH at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: float __thiscall MetaObject::ElementSpacing(int)const " (?ElementSpacing at MetaObject@@QBEMH at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: int __thiscall MetaImage::DimSize(int)const " (?DimSize at MetaImage@@QBEHH at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: int __thiscall MetaObject::NDims(void)const " (?NDims at MetaObject@@QBEHXZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: enum MET_ValueEnumType __thiscall MetaImage::ElementType(void)const " (?ElementType at MetaImage@@QBE?AW4MET_ValueEnumType@@XZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: int __thiscall MetaImage::ElementNumberOfChannels(void)const " (?ElementNumberOfChannels at MetaImage@@QBEHXZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall MetaObject::BinaryData(void)const " (?BinaryData at MetaObject@@QBE_NXZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall MetaImage::ElementByteOrderFix(void)" (?ElementByteOrderFix at MetaImage@@QAE_NXZ)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MetaObject::CompressedData(bool)" (?CompressedData at MetaObject@@QAEX_N at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MetaObject::AnatomicalOrientation(int,enum MET_OrientationEnumType)" (?AnatomicalOrientation at MetaObject@@QAEXHW4MET_OrientationEnumType@@@Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MetaObject::BinaryData(bool)" (?BinaryData at MetaObject@@QAEX_N at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MetaObject::Position(double const *)" (?Position at MetaObject@@QAEXPBN at Z)
ITKIO.lib(itkMetaImageIO.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall MetaImage::InitializeEssential(int,int const *,float const *,enum MET_ValueEnumType,int,void *,bool)" (?InitializeEssential at MetaImage@@QAE_NHPBHPBMW4M
ET_ValueEnumType@@HPAX_N at Z)
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdIoStateNix
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdNix
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdKeyValueIndex
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdKeyValueSize
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_airExists_d
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdEncodingAscii
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_biffGetDone
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdLoad
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdNew
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdIoStateSet
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdIoStateNew
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdSave
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdKeyValueAdd
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdEncodingGzip
ITKIO.lib(itkNrrdImageIO.obj) : error LNK2001: unresolved external symbol _itk_nrrdEncodingRaw
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFOpen
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFClose
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFGetFieldDefaulted
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFNumberOfTiles
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFIsTiled
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFNumberOfDirectories
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFGetField
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFSetErrorHandler
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk__TIFFfree
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFReadScanline
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk__TIFFmalloc
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFScanlineSize
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFReadTile
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFReadDirectory
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFReadRGBAImage
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFWriteScanline
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFDefaultStripSize
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFSetField
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFClientOpen
ITKIO.lib(itkTIFFImageIO.obj) : error LNK2001: unresolved external symbol _itk_TIFFWriteDirectory
RelWithDebInfo/Image2.exe : fatal error LNK1120: 89 unresolved externals
Error executing link.exe.
ALL_BUILD - 92 error(s), 0 warning(s)
---------------------------------
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050510/288f8895/attachment.html
More information about the Insight-users
mailing list