<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Courier New";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 32.35pt 1.0in 32.35pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1359965031;
        mso-list-type:hybrid;
        mso-list-template-ids:1598452128 722263140 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F02B;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1
        {mso-list-id:1840458824;
        mso-list-type:hybrid;
        mso-list-template-ids:42348116 722263140 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F02B;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'>Hi All,<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'>This is another post about trouble linking. My current state of
affairs is:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Downloaded and built ITK with
CMake.<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Built ITK_BIN successfully with MS
Visual Studio 2008 under Win XP<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Made a new project 'Hello World'
and copy/pasted the code from the examples directory<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>HelloWorld built and executed
successfully<o:p></o:p></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Did something similar with
'DicomSeriesReadImageWrite2' and everything worked well. <o:p></o:p></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Made a new project
'ConnectedThresholdImageFilter'<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>copy/pasted code from the examples
directory<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>modified CMakeList.txt so it looks
like:<o:p></o:p></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'># This is the root ITK CMakeLists file.<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>CMAKE_MINIMUM_REQUIRED(VERSION 2.4)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>IF(COMMAND CMAKE_POLICY)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'> CMAKE_POLICY(SET CMP0003 NEW)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ENDIF(COMMAND CMAKE_POLICY)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'># This project is designed to be built outside the
Insight source tree.<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>PROJECT(ConnectedThresholdImageFilter)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'># Find ITK.<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>FIND_PACKAGE(ITK REQUIRED)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>INCLUDE(${ITK_USE_FILE})<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ADD_EXECUTABLE(ConnectedThresholdImageFilter
ConnectedThresholdImageFilter.cxx )<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>TARGET_LINK_LIBRARIES(ConnectedThresholdImageFilter
ITKCommon)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Run CMake<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Build
ConnectedThresholdImageFilter project<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>Code compiles, no errors<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=3 face=Symbol><span style='font-size:12.0pt;font-family:Symbol'><span
style='mso-list:Ignore'>+<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>When it comes time to link, I get
17 errors that look like:<o:p></o:p></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>------ Build started: Project:
ConnectedThresholdImageFilter, Configuration: Debug Win32 ------<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Compiling...<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.cxx<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Linking...<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: static class itk::SmartPointer<class
itk::ImageIOBase> __cdecl itk::ImageIOFactory::CreateImageIO(char const
*,enum itk::ImageIOFactory::FileModeType)"
(?CreateImageIO@ImageIOFactory@itk@@SA?AV?$SmartPointer@VImageIOBase@itk@@@2@PBDW4FileModeType@12@@Z)
referenced in function
__catch$?GenerateOutputInformation@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXXZ$0<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: virtual __thiscall
itk::ImageIORegion::~ImageIORegion(void)" (??1ImageIORegion@itk@@UAE@XZ)
referenced in function "public: virtual void __thiscall
itk::ImageFileReader<class itk::Image<float,2>,class
itk::DefaultConvertPixelTraits<float> >::EnlargeOutputRequestedRegion(class
itk::DataObject *)" (?EnlargeOutputRequestedRegion@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXPAVDataObject@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: __thiscall itk::ImageIORegion::ImageIORegion(unsigned
int)" (??0ImageIORegion@itk@@QAE@I@Z) referenced in function "public:
virtual void __thiscall itk::ImageFileReader<class
itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float>
>::EnlargeOutputRequestedRegion(class itk::DataObject *)"
(?EnlargeOutputRequestedRegion@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXPAVDataObject@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: long __thiscall itk::ImageIOBase::GetImageSizeInBytes(void)const
" (?GetImageSizeInBytes@ImageIOBase@itk@@QBEJXZ) referenced in function
__catch$?GenerateData@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@MAEXXZ$0<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: __thiscall
itk::ImageIORegion::ImageIORegion(class itk::ImageIORegion const &)"
(??0ImageIORegion@itk@@QAE@ABV01@@Z) referenced in function
__catch$?GenerateData@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@MAEXXZ$0<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
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::ImageIORegion const &)"
(??6itk@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV12@ABVImageIORegion@0@@Z)
referenced in function
__catch$?GenerateData@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@MAEXXZ$0<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: bool __thiscall
itk::ImageIORegion::IsInside(class itk::ImageIORegion const &)const "
(?IsInside@ImageIORegion@itk@@QBE_NABV12@@Z) referenced in function
"public: virtual void __thiscall itk::ImageFileWriter<class
itk::Image<unsigned char,2> >::Write(void)"
(?Write@?$ImageFileWriter@V?$Image@E$01@itk@@@itk@@UAEXXZ)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: void __thiscall itk::ImageIORegion::operator=(class
itk::ImageIORegion const &)" (??4ImageIORegion@itk@@QAEXABV01@@Z)
referenced in function "public: virtual void __thiscall
itk::ImageFileWriter<class itk::Image<unsigned char,2>
>::Write(void)" (?Write@?$ImageFileWriter@V?$Image@E$01@itk@@@itk@@UAEXXZ)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: __thiscall
itk::ImageIORegion::ImageIORegion(void)" (??0ImageIORegion@itk@@QAE@XZ)
referenced in function "public: virtual void __thiscall itk::ImageFileWriter<class
itk::Image<unsigned char,2> >::Write(void)"
(?Write@?$ImageFileWriter@V?$Image@E$01@itk@@@itk@@UAEXXZ)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: void __thiscall
itk::ImageIOBase::SetNumberOfDimensions(unsigned int)"
(?SetNumberOfDimensions@ImageIOBase@itk@@QAEXI@Z) referenced in function
"public: virtual void __thiscall itk::ImageFileWriter<class
itk::Image<unsigned char,2> >::Write(void)" (?Write@?$ImageFileWriter@V?$Image@E$01@itk@@@itk@@UAEXXZ)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: void __thiscall
itk::ImageIORegion::SetIndex(unsigned long,long)"
(?SetIndex@ImageIORegion@itk@@QAEXKJ@Z) referenced in function "public:
static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class
itk::ImageRegion<2> const &,class itk::ImageIORegion &,class
itk::Index<2> const &)"
(?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABV?$ImageRegion@$01@2@AAVImageIORegion@2@ABV?$Index@$01@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: void __thiscall
itk::ImageIORegion::SetSize(unsigned long,unsigned long)"
(?SetSize@ImageIORegion@itk@@QAEXKK@Z) referenced in function "public:
static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class
itk::ImageRegion<2> const &,class itk::ImageIORegion &,class
itk::Index<2> const &)"
(?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABV?$ImageRegion@$01@2@AAVImageIORegion@2@ABV?$Index@$01@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019: unresolved
external symbol "public: unsigned int __thiscall
itk::ImageIORegion::GetImageDimension(void)const "
(?GetImageDimension@ImageIORegion@itk@@QBEIXZ) referenced in function
"public: static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class
itk::ImageRegion<2> const &,class itk::ImageIORegion &,class
itk::Index<2> const &)"
(?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABV?$ImageRegion@$01@2@AAVImageIORegion@2@ABV?$Index@$01@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: long __thiscall
itk::ImageIORegion::GetIndex(unsigned long)const "
(?GetIndex@ImageIORegion@itk@@QBEJK@Z) referenced in function "public:
static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class
itk::ImageIORegion const &,class itk::ImageRegion<2> &,class
itk::Index<2> const &)"
(?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABVImageIORegion@2@AAV?$ImageRegion@$01@2@ABV?$Index@$01@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
unresolved external symbol "public: unsigned long __thiscall
itk::ImageIORegion::GetSize(unsigned long)const "
(?GetSize@ImageIORegion@itk@@QBEKK@Z) referenced in function "public:
static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class
itk::ImageIORegion const &,class itk::ImageRegion<2> &,class
itk::Index<2> const &)"
(?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABVImageIORegion@2@AAV?$ImageRegion@$01@2@ABV?$Index@$01@2@@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter.obj : error LNK2019:
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::IOComponentType)const "
(?GetComponentTypeAsString@ImageIOBase@itk@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4IOComponentType@12@@Z)
referenced in function "protected: void __thiscall
itk::ImageFileReader<class itk::Image<float,2>,class
itk::DefaultConvertPixelTraits<float> >::DoConvertBuffer(void
*,unsigned long)" (?DoConvertBuffer@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@IAEXPAXK@Z)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>C:\itkproj\connThreshImgFilter\connThreshImgFilterBin\Debug\ConnectedThresholdImageFilter.exe
: fatal error LNK1120: 16 unresolved externals<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Build log was saved at "file://c:\itkproj\connThreshImgFilter\connThreshImgFilterBin\ConnectedThresholdImageFilter.dir\Debug\BuildLog.htm"<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>ConnectedThresholdImageFilter - 17 error(s), 0
warning(s)<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:1.0in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>========== Build: 0 succeeded, 1 failed, 0 up-to-date,
0 skipped ===========<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><st1:State w:st="on"><st1:place w:st="on"><font size=3
face="Courier New"><span style='font-size:12.0pt'>Alas.</span></font></st1:place></st1:State>...
After a couple of hours of trying various methods of pointing the linker in the
right direction, I seem to have hit a wall. Is it possible this example
code uses classes that are not part of the distribution code? I can't even be
sure which line of code is generating the tag that fails to link. My main
interest in ITK is image segmentation, so I'm hoping someone can help me get
over this early hurdle.<o:p></o:p></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'>Many thanks in advance-<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'>Perry <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>