<div>Hello,</div> <div>I had build one of the example files available at the examples directory in the ITK toolkit. The file name is DicomSeriesReadImageWrite2.cxx. I have configured the file along with CMakeLists.txt in a new folder using CMAKE. Using the workspace generated, i tried to build it in VC++ 6.0. While doing so a list of errors was produced. The log is shown below</div> <div> </div> <div>--------------------Configuration: DicomSeriesReadImageWrite2 - Win32 Debug--------------------<BR>Compiling...<BR>DicomSeriesReadImageWrite2.cxx<BR>Linking...<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct st<BR>d::char_traits<char>,class std::allocator<char> > > > const & __thiscall
itk::GDCMSeriesFileNames::GetFileNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (<A href="mailto:?GetFileNames@GDCMSeriesFileNames@itk@@QAEABV">?GetFileNames@GDCMSeriesFileNames@itk@@QAEABV</A>?<BR><A href="mailto:$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z">$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct st<BR>d::char_traits<char>,class std::allocator<char> > > > const & __thiscall itk::GDCMSeriesFileNames::GetSeriesUIDs(void)" (<A href="mailto:?GetSeriesUIDs@GDCMSeriesFileNames@itk@@QAEABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocato">?GetSeriesUIDs@GDCMSeriesFileNames@itk@@QAEABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocato</A><BR><A href="mailto:r@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ">r@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "protected: __thiscall itk::GDCMImageIO::GDCMImageIO(void)" (<A href="mailto:??0GDCMImageIO@itk@@IAE@XZ">??0GDCMImageIO@itk@@IAE@XZ</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "protected: __thiscall
itk::GDCMSeriesFileNames::GDCMSeriesFileNames(void)" (<A href="mailto:??0GDCMSeriesFileNames@itk@@IAE@XZ">??0GDCMSeriesFileNames@itk@@IAE@XZ</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: void __thiscall itk::GDCMSeriesFileNames::SetInputDirectory(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?SetIn<BR><A href="mailto:putDirectory@GDCMSeriesFileNames@itk@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z">putDirectory@GDCMSeriesFileNames@itk@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: void __thiscall gdcm::SerieHelper::CreateDefaultUniqueSeriesIdentifier(void)" (<A
href="mailto:?CreateDefaultUniqueSeriesIdentifier@SerieHelper@gdcm@@QAEXXZ">?CreateDefaultUniqueSeriesIdentifier@SerieHelper@gdcm@@QAEXXZ</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: void __thiscall gdcm::SerieHelper::AddRestriction(unsigned short,unsigned short)" (<A href="mailto:?AddRestriction@SerieHelper@gdcm@@QAEXGG@Z">?AddRestriction@SerieHelper@gdcm@@QAEXGG@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall itk::ImageIORegion::PrintSelf(class std::basic_ostream<char,struct std::char_traits<char> > &,class itk::Indent)const " (<A href="mailto:?PrintSelf@ImageI">?PrintSelf@ImageI</A><BR><A href="mailto:ORegion@itk@@MBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VIndent@2@@Z">ORegion@itk@@MBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VIndent@2@@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol
"class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl itk::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class itk::ImageIOReg<BR>ion const &)" (<A href="mailto:??6itk@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV12@ABVImageIORegion@0@@Z">??6itk@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV12@ABVImageIORegion@0@@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: void __thiscall itk::ImageIOBase::SetNumberOfDimensions(unsigned int)" (<A href="mailto:?SetNumberOfDimensions@ImageIOBase@itk@@QAEXI@Z">?SetNumberOfDimensions@ImageIOBase@itk@@QAEXI@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: static class itk::SmartPointer<class itk::ImageIOBase> __cdecl itk::ImageIOFactory::CreateImageIO(char const *,enum itk::ImageIOFactory::FileModeType)" (?CreateImage<BR><A
href="mailto:IO@ImageIOFactory@itk@@SA?AV?$SmartPointer@VImageIOBase@itk@@@2@PBDW4FileModeType@12@@Z">IO@ImageIOFactory@itk@@SA?AV?$SmartPointer@VImageIOBase@itk@@@2@PBDW4FileModeType@12@@Z</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall itk::ImageIOBase::GetImageSizeInBytes(void)const " (<A href="mailto:?GetImageSizeInBytes@ImageIOBase@itk@@QBEIXZ">?GetImageSizeInBytes@ImageIOBase@itk@@QBEIXZ</A>)<BR>DicomSeriesReadImageWrite2.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall itk::ImageIOBase::GetComponentTypeAsString(enum itk::ImageIOBase::<BR>IOComponentType)const " (<A
href="mailto:?GetComponentTypeAsString@ImageIOBase@itk@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4IOComponentType@12@@Z">?GetComponentTypeAsString@ImageIOBase@itk@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4IOComponentType@12@@Z</A>)<BR>Debug/DicomSeriesReadImageWrite2.exe : fatal error LNK1120: 13 unresolved externals<BR>Error executing link.exe.</div> <div>ALL_BUILD - 14 error(s), 0 warning(s)</div> <div>---------------------------------------------------------------------------------------------</div> <div> </div> <div>Could someone help me out with this error??</div> <div>Thanks </div> <div>Brian</div> <div> </div> <div> </div><p> 
        
                <hr size=1>Get your own <a href=" http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains"
>web address for just $1.99/1st yr</a>. We'll help. <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/"
>Yahoo! Small Business</a>.