Hello <br><br>I am having a problem compiling some code. The code is working on other computers 32bit xp and 64bit xp using visual studios 2005 but I have now moved to ITK 3,8 and using visual studios 2008 with vista 32bit and no matter what I do either it is saying that it can&#39;t find ITKCommon.dll, mclib.dll or msvcr90d.dll (but they all exist) or it is giving the following error:<br>
<br>1&gt;------ Build started: Project: Hxitk, Configuration: Debug Win32 ------<br>1&gt;Linking...<br>1&gt;&nbsp;&nbsp; Creating library .\../../bin/arch-Win32VC7-Debug/Hxitk.lib and object .\../../bin/arch-Win32VC7-Debug/Hxitk.exp<br>
1&gt;HxITKWatershedU16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z)<br>
1&gt;itkvnl.lib(vnl_vector+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z)<br>
1&gt;itkvnl.lib(vnl_matrix+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z)<br>
1&gt;HxITKEdgePreservingFilters.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z) referenced in function &quot;public: class itk::Offset&lt;3&gt; const &amp; __thiscall std::vector&lt;class itk::Offset&lt;3&gt;,class std::allocator&lt;class itk::Offset&lt;3&gt; &gt; &gt;::operator[](unsigned int)const &quot; (??A?$vector@V?$Offset@$02@itk@@V?$allocator@V?$Offset@$02@itk@@@std@@@std@@QBEABV?$Offset@$02@itk@@I@Z)<br>
1&gt;HxITKWatershed16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z)<br>
1&gt;HxITKWatershed32.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z)<br>
1&gt;HxITKWatershed8.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)&quot; (__imp_?_Debug_message@std@@YAXPB_W0I@Z)<br>
1&gt;HxITKWatershedU16.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ) referenced in function &quot;public: __thiscall itk::Vector&lt;float,3&gt;::Vector&lt;float,3&gt;(float const * const)&quot; (??0?$Vector@M$02@itk@@QAE@QBM@Z)<br>
1&gt;itkvnl.lib(vnl_vector+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)<br>
1&gt;itkvnl.lib(vnl_matrix+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)<br>
1&gt;HxITKEdgePreservingFilters.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)<br>
1&gt;HxITKWatershed16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)<br>
1&gt;HxITKWatershed32.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)<br>
1&gt;HxITKWatershed8.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const &quot; (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)<br>
1&gt;HxITKWatershedU16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ)<br>
1&gt;itkvnl.lib(vnl_vector+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ)<br>
1&gt;itkvnl.lib(vnl_matrix+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKEdgePreservingFilters.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ) referenced in function &quot;protected: __thiscall std::_Container_base_aux_alloc_empty&lt;class std::allocator&lt;class itk::Offset&lt;3&gt; &gt; &gt;::~_Container_base_aux_alloc_empty&lt;class std::allocator&lt;class itk::Offset&lt;3&gt; &gt; &gt;(void)&quot; (??1?$_Container_base_aux_alloc_empty@V?$allocator@V?$Offset@$02@itk@@@std@@@std@@IAE@XZ)<br>
1&gt;HxITKWatershed16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKWatershed32.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKWatershed8.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)&quot; (__imp_??1_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKWatershedU16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ)<br>
1&gt;itkvnl.lib(vnl_vector+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ)<br>
1&gt;itkvnl.lib(vnl_matrix+long-.obj) : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKEdgePreservingFilters.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ) referenced in function &quot;protected: __thiscall std::_Container_base_aux_alloc_empty&lt;class std::allocator&lt;double&gt; &gt;::_Container_base_aux_alloc_empty&lt;class std::allocator&lt;double&gt; &gt;(class std::allocator&lt;double&gt;)&quot; (??0?$_Container_base_aux_alloc_empty@V?$allocator@N@std@@@std@@IAE@V?$allocator@N@1@@Z)<br>
1&gt;HxITKWatershed16.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKWatershed32.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ)<br>
1&gt;HxITKWatershed8.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)&quot; (__imp_??0_Container_base_secure@std@@QAE@XZ)<br>
1&gt;../../bin/arch-Win32VC7-Debug/Hxitk.dll : fatal error LNK1120: 4 unresolved externals<br>1&gt;Build log was saved at &quot;file://c:\Users\David\Amira_Local\obj\arch-Win32VC7-Debug\Hxitk\BuildLog.htm&quot;<br>1&gt;Hxitk - 29 error(s), 0 warning(s)<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br><br>I have added itkvnl.lib and included the path. <br><br>Any help would be greatly appreciated.<br><br>Thanks<br><br>David