<div>Hello,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Due to a computer crash. I had to reinstall ITK on my PC. I have configured the &quot;CMakeList.txt&quot; and compiled ITK.dsw under C:\Insight directory. However, I haven't been able to compile &quot;helloworld&quot; since the new installation of the ITK. I suspect it has to do with the fact that CMake automatically default to Library Sharing as OFF. So when I generate my 
ITK.dsw, the library was sharing somehow. But I can be wrong, anyhow, this is the error that I get in trying to build &quot;helloworld.cxx&quot;:</div>
<div>&nbsp;</div>
<div>
<p>--------------------Configuration: HelloWorld - Win32 Debug--------------------<br>Linking...<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: static void __cdecl itk::LightObject::operator delete(void *)&quot; (
<a href="mailto:??3LightObject@itk@@SAXPAX@Z">??3LightObject@itk@@SAXPAX@Z</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: static void * __cdecl itk::LightObject::operator new(unsigned int)&quot; (
<a href="mailto:??2LightObject@itk@@SAPAXI@Z">??2LightObject@itk@@SAPAXI@Z</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: static class itk::SmartPointer&lt;class itk::LightObject&gt; __cdecl itk::ObjectFactoryBase::CreateInstance(char const *)&quot; (
<a href="mailto:?CreateInstance@ObjectFactoryBase@itk@@SA?AV?$SmartPointer@VLightObject@it">?CreateInstance@ObjectFactoryBase@itk@@SA?AV?$SmartPointer@VLightObject@it</a><br><a href="mailto:k@@@2@PBD@Z">k@@@2@PBD@Z</a>)&quot; imported
<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;void __cdecl itk::OutputWindowDisplayDebugText(char const *)&quot; (<a href="mailto:?OutputWindowDisplayDebugText@itk@@YAXPBD@Z">?OutputWindowDisplayDebugText@itk@@YAXPBD@Z
</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)&quot; (<a href="mailto:?GetGlobalWarningDisplay@Object@itk@@SA_NXZ">
?GetGlobalWarningDisplay@Object@itk@@SA_NXZ</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: bool __thiscall itk::Object::GetDebug(void)const &quot; (<a href="mailto:?GetDebug@Object@itk@@QBE_NXZ">
?GetDebug@Object@itk@@QBE_NXZ</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: virtual __thiscall itk::ExceptionObject::~ExceptionObject(void)&quot; (<a href="mailto:??1ExceptionObject@itk@@UAE@XZ">
??1ExceptionObject@itk@@UAE@XZ</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: __thiscall itk::ExceptionObject::ExceptionObject(class itk::ExceptionObject const &amp;)&quot; (<a href="mailto:??0ExceptionObject@itk@@QAE@ABV01@@Z">
??0ExceptionObject@itk@@QAE@ABV01@@Z</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: __thiscall itk::ExceptionObject::ExceptionObject(char const *,unsigned int,char const *,char const *)&quot; (
<a href="mailto:??0ExceptionObject@itk@@QAE@PBDI00@Z">??0ExceptionObject@itk@@QAE@PBDI00@Z</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: virtual void __thiscall itk::DataObject::CopyInformation(class itk::DataObject const *)&quot; (
<a href="mailto:?CopyInformation@DataObject@itk@@UAEXPBV12@@Z">?CopyInformation@DataObject@itk@@UAEXPBV12@@Z</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: class itk::SmartPointerForwardReference&lt;class itk::ProcessObject&gt; __thiscall itk::DataObject::GetSource(void)const &quot; (
<a href="mailto:?GetSource@DataObject@itk@@QBE?AV?$SmartPointerForwardReference@VProcessOb">?GetSource@DataObject@itk@@QBE?AV?$SmartPointerForwardReference@VProcessOb</a><br><a href="mailto:ject@itk@@@2@XZ">ject@itk@@@2@XZ
</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: virtual __thiscall itk::DataObject::~DataObject(void)&quot; (<a href="mailto:??1DataObject@itk@@MAE@XZ">??1DataObject@itk@@MAE@XZ
</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: __thiscall itk::DataObject::DataObject(void)&quot; (<a href="mailto:??0DataObject@itk@@IAE@XZ">??0DataObject@itk@@IAE@XZ</a>)&quot; imported
<br>LINK : warning LNK4049: locally defined symbol &quot;&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::Indent const &amp;)&quot; (
<a href="mailto:??6itk@@YAAAV?$basi">??6itk@@YAAAV?$basi</a><br><a href="mailto:c_ostream@DU?$char_traits@D@std@@@std@@AAV12@ABVIndent@0@@Z">c_ostream@DU?$char_traits@D@std@@@std@@AAV12@ABVIndent@0@@Z</a>)&quot; imported<br>
LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: virtual void __thiscall itk::Region::PrintSelf(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class itk::Indent)const &quot; (
<a href="mailto:?PrintSelf@Region@itk@@MBEXAAV?$basic_ostream@DU?$c">?PrintSelf@Region@itk@@MBEXAAV?$basic_ostream@DU?$c</a><br><a href="mailto:har_traits@D@std@@@std@@VIndent@2@@Z">har_traits@D@std@@@std@@VIndent@2@@Z</a>
)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: virtual void __thiscall itk::DataObject::Initialize(void)&quot; (<a href="mailto:?Initialize@DataObject@itk@@UAEXXZ">?Initialize@DataObject@itk@@UAEXXZ
</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: class itk::Indent __thiscall itk::Indent::GetNextIndent(void)&quot; (<a href="mailto:?GetNextIndent@Indent@itk@@QAE?AV12@XZ">?GetNextIndent@Indent@itk@@QAE?AV12@XZ
</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: virtual void __thiscall itk::DataObject::PrintSelf(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class itk::Indent)const &quot; (
<a href="mailto:?PrintSelf@DataObject@itk@@MBEXAAV?$basic_ostre">?PrintSelf@DataObject@itk@@MBEXAAV?$basic_ostre</a><br><a href="mailto:am@DU?$char_traits@D@std@@@std@@VIndent@2@@Z">am@DU?$char_traits@D@std@@@std@@VIndent@2@@Z
</a>)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: __thiscall itk::Object::Object(void)&quot; (<a href="mailto:??0Object@itk@@IAE@XZ">??0Object@itk@@IAE@XZ</a>)&quot; imported<br>
LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: virtual void __thiscall itk::Object::PrintSelf(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class itk::Indent)const &quot; (
<a href="mailto:?PrintSelf@Object@itk@@MBEXAAV?$basic_ostream@DU?$c">?PrintSelf@Object@itk@@MBEXAAV?$basic_ostream@DU?$c</a><br><a href="mailto:har_traits@D@std@@@std@@VIndent@2@@Z">har_traits@D@std@@@std@@VIndent@2@@Z</a>
)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;public: void __thiscall itk::LightObject::Print(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class itk::Indent)const &quot; (
<a href="mailto:?Print@LightObject@itk@@QBEXAAV?$basic_ostream@DU?$char_trait">?Print@LightObject@itk@@QBEXAAV?$basic_ostream@DU?$char_trait</a><br><a href="mailto:s@D@std@@@std@@VIndent@2@@Z">s@D@std@@@std@@VIndent@2@@Z</a>
)&quot; imported<br>LINK : warning LNK4049: locally defined symbol &quot;&quot;protected: virtual __thiscall itk::Object::~Object(void)&quot; (<a href="mailto:??1Object@itk@@MAE@XZ">??1Object@itk@@MAE@XZ</a>)&quot; imported
<br>HelloWorld.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: virtual __thiscall itk::Region::~Region(void)&quot; (<a href="mailto:__imp_??1Region@itk@@UAE@XZ">__imp_??1Region@itk@@UAE@XZ
</a>)<br>HelloWorld.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: static double const itk::NumericTraits&lt;double&gt;::Zero&quot; (<a href="mailto:__imp_?Zero@?$NumericTraits@N@itk@@2NB">
__imp_?Zero@?$NumericTraits@N@itk@@2NB</a>)<br>HelloWorld.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall itk::Region::Region(void)&quot; (<a href="mailto:__imp_??0Region@itk@@QAE@XZ">
__imp_??0Region@itk@@QAE@XZ</a>)<br>Debug/HelloWorld.exe : fatal error LNK1120: 3 unresolved externals<br>Error executing link.exe.</p>
<p>ALL_BUILD - 4 error(s), 22 warning(s)<br></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I am wondering how may I go about remedy this problem without re-installing or rebuilding ITK.dsw again, which would take 3 hours to build. Thank you.</p>
<p>Xiaoming</p></div>