<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>&nbsp;</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.&nbsp; 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>&nbsp;</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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>&nbsp;</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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>&nbsp;</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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>&nbsp;</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'>&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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 &quot;public: static class itk::SmartPointer&lt;class
itk::ImageIOBase&gt; __cdecl itk::ImageIOFactory::CreateImageIO(char const
*,enum itk::ImageIOFactory::FileModeType)&quot;
(?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 &quot;public: virtual __thiscall
itk::ImageIORegion::~ImageIORegion(void)&quot; (??1ImageIORegion@itk@@UAE@XZ)
referenced in function &quot;public: virtual void __thiscall
itk::ImageFileReader&lt;class itk::Image&lt;float,2&gt;,class
itk::DefaultConvertPixelTraits&lt;float&gt; &gt;::EnlargeOutputRequestedRegion(class
itk::DataObject *)&quot; (?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 &quot;public: __thiscall itk::ImageIORegion::ImageIORegion(unsigned
int)&quot; (??0ImageIORegion@itk@@QAE@I@Z) referenced in function &quot;public:
virtual void __thiscall itk::ImageFileReader&lt;class
itk::Image&lt;float,2&gt;,class itk::DefaultConvertPixelTraits&lt;float&gt;
&gt;::EnlargeOutputRequestedRegion(class itk::DataObject *)&quot;
(?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 &quot;public: long __thiscall itk::ImageIOBase::GetImageSizeInBytes(void)const
&quot; (?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 &quot;public: __thiscall
itk::ImageIORegion::ImageIORegion(class itk::ImageIORegion const &amp;)&quot;
(??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 &quot;class std::basic_ostream&lt;char,struct
std::char_traits&lt;char&gt; &gt; &amp; __cdecl itk::operator&lt;&lt;(class
std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class
itk::ImageIORegion const &amp;)&quot;
(??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 &quot;public: bool __thiscall
itk::ImageIORegion::IsInside(class itk::ImageIORegion const &amp;)const &quot;
(?IsInside@ImageIORegion@itk@@QBE_NABV12@@Z) referenced in function
&quot;public: virtual void __thiscall itk::ImageFileWriter&lt;class
itk::Image&lt;unsigned char,2&gt; &gt;::Write(void)&quot;
(?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 &quot;public: void __thiscall itk::ImageIORegion::operator=(class
itk::ImageIORegion const &amp;)&quot; (??4ImageIORegion@itk@@QAEXABV01@@Z)
referenced in function &quot;public: virtual void __thiscall
itk::ImageFileWriter&lt;class itk::Image&lt;unsigned char,2&gt;
&gt;::Write(void)&quot; (?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 &quot;public: __thiscall
itk::ImageIORegion::ImageIORegion(void)&quot; (??0ImageIORegion@itk@@QAE@XZ)
referenced in function &quot;public: virtual void __thiscall itk::ImageFileWriter&lt;class
itk::Image&lt;unsigned char,2&gt; &gt;::Write(void)&quot;
(?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 &quot;public: void __thiscall
itk::ImageIOBase::SetNumberOfDimensions(unsigned int)&quot;
(?SetNumberOfDimensions@ImageIOBase@itk@@QAEXI@Z) referenced in function
&quot;public: virtual void __thiscall itk::ImageFileWriter&lt;class
itk::Image&lt;unsigned char,2&gt; &gt;::Write(void)&quot; (?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 &quot;public: void __thiscall
itk::ImageIORegion::SetIndex(unsigned long,long)&quot;
(?SetIndex@ImageIORegion@itk@@QAEXKJ@Z) referenced in function &quot;public:
static void __cdecl itk::ImageIORegionAdaptor&lt;2&gt;::Convert(class
itk::ImageRegion&lt;2&gt; const &amp;,class itk::ImageIORegion &amp;,class
itk::Index&lt;2&gt; const &amp;)&quot;
(?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 &quot;public: void __thiscall
itk::ImageIORegion::SetSize(unsigned long,unsigned long)&quot;
(?SetSize@ImageIORegion@itk@@QAEXKK@Z) referenced in function &quot;public:
static void __cdecl itk::ImageIORegionAdaptor&lt;2&gt;::Convert(class
itk::ImageRegion&lt;2&gt; const &amp;,class itk::ImageIORegion &amp;,class
itk::Index&lt;2&gt; const &amp;)&quot;
(?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 &quot;public: unsigned int __thiscall
itk::ImageIORegion::GetImageDimension(void)const &quot;
(?GetImageDimension@ImageIORegion@itk@@QBEIXZ) referenced in function
&quot;public: static void __cdecl itk::ImageIORegionAdaptor&lt;2&gt;::Convert(class
itk::ImageRegion&lt;2&gt; const &amp;,class itk::ImageIORegion &amp;,class
itk::Index&lt;2&gt; const &amp;)&quot;
(?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 &quot;public: long __thiscall
itk::ImageIORegion::GetIndex(unsigned long)const &quot;
(?GetIndex@ImageIORegion@itk@@QBEJK@Z) referenced in function &quot;public:
static void __cdecl itk::ImageIORegionAdaptor&lt;2&gt;::Convert(class
itk::ImageIORegion const &amp;,class itk::ImageRegion&lt;2&gt; &amp;,class
itk::Index&lt;2&gt; const &amp;)&quot;
(?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 &quot;public: unsigned long __thiscall
itk::ImageIORegion::GetSize(unsigned long)const &quot;
(?GetSize@ImageIORegion@itk@@QBEKK@Z) referenced in function &quot;public:
static void __cdecl itk::ImageIORegionAdaptor&lt;2&gt;::Convert(class
itk::ImageIORegion const &amp;,class itk::ImageRegion&lt;2&gt; &amp;,class
itk::Index&lt;2&gt; const &amp;)&quot;
(?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 &quot;public: class std::basic_string&lt;char,struct
std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; __thiscall
itk::ImageIOBase::GetComponentTypeAsString(enum
itk::ImageIOBase::IOComponentType)const &quot;
(?GetComponentTypeAsString@ImageIOBase@itk@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4IOComponentType@12@@Z)
referenced in function &quot;protected: void __thiscall
itk::ImageFileReader&lt;class itk::Image&lt;float,2&gt;,class
itk::DefaultConvertPixelTraits&lt;float&gt; &gt;::DoConvertBuffer(void
*,unsigned long)&quot; (?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 &quot;file://c:\itkproj\connThreshImgFilter\connThreshImgFilterBin\ConnectedThresholdImageFilter.dir\Debug\BuildLog.htm&quot;<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>&nbsp;</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>...&nbsp;
After a couple of hours of trying various methods of pointing the linker in the
right direction, I seem to have hit a wall.&nbsp; 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.&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=3 face="Courier New"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>