Karthik,

Thanks for your prompt resonse! I get some errors while linking and creating 
the vtkKWEWidgets.lib 
file.(Please see attached file)

best regards,
Cartik

P.S This is with ITK 3.12 and vtk 5.4.2

----- Original Message ----- 
  From: Karthik Krishnan 
  To: Cartik Sharma 
  Cc: [email protected] 
  Sent: Saturday, September 05, 2009 2:00 AM
  Subject: Re: [VtkEdge] vtkedge with itk compatibility


  I can build it fine with ITK CVS. I haven't checked with ITK 3.12 though. 
What are the errors you are having ?


  On Fri, Sep 4, 2009 at 7:11 PM, Cartik Sharma <[email protected]> wrote:

    hi,

    I'm trying to do a build for vtkedge in cohesion with ITK. It seems like 
I'm getting some errors from the vnl library.

    This is Vtkedge with Itk 3.12 and Vtk 5.4.2. Do I need to upgrade to ITK 
3.14?

    Please advise.

    best,
    -Cartik 
    _______________________________________________
    VtkEdge mailing list
    [email protected]
    http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge



  Creating library C:\vtkedge\bin\Debug\vtkKWEWidgets.lib and object 
C:\vtkedge\bin\Debug\vtkKWEWidgets.exp
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: __thiscall 
vnl_matrix<double>::~vnl_matrix<double>(void)" (??1?$vnl_mat...@n@@q...@xz) 
referenced in function "public: class vnl_matrix_fixed<double,3,3> __thiscall 
itk::Matrix<double,3,3>::GetInverse(void)const " 
(?getinve...@?$matrix@n$02...@itk@@qbe?av?$vnl_matrix_fi...@n$02$02@@XZ)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "public: __thiscall 
vnl_matrix<double>::~vnl_matrix<double>(void)" (??1?$vnl_mat...@n@@q...@xz)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "public: 
__thiscall vnl_matrix<double>::~vnl_matrix<double>(void)" 
(??1?$vnl_mat...@n@@q...@xz)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "public: __thiscall 
vnl_matrix<double>::~vnl_matrix<double>(void)" (??1?$vnl_mat...@n@@q...@xz)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: __thiscall 
vnl_matrix<double>::vnl_matrix<double>(class vnl_matrix<double> const &)" 
(??0?$vnl_mat...@n@@q...@abv0@@Z) referenced in function "public: class 
vnl_matrix_fixed<double,3,3> __thiscall 
itk::Matrix<double,3,3>::GetInverse(void)const " 
(?getinve...@?$matrix@n$02...@itk@@qbe?av?$vnl_matrix_fi...@n$02$02@@XZ)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "public: __thiscall 
vnl_matrix<double>::vnl_matrix<double>(class vnl_matrix<double> const &)" 
(??0?$vnl_mat...@n@@q...@abv0@@Z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "public: 
__thiscall vnl_matrix<double>::vnl_matrix<double>(class vnl_matrix<double> 
const &)" (??0?$vnl_mat...@n@@q...@abv0@@Z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "public: __thiscall 
vnl_matrix<double>::vnl_matrix<double>(class vnl_matrix<double> const &)" 
(??0?$vnl_mat...@n@@q...@abv0@@Z)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "void __cdecl vcl_cassert_failure(char const 
*,int,char const *)" (?vcl_cassert_failure@@yaxpb...@z) referenced in function 
"public: __thiscall 
vnl_matrix_fixed<double,3,3>::vnl_matrix_fixed<double,3,3>(class 
vnl_matrix<double> const &)" 
(??0?$vnl_matrix_fi...@n$02$02@@q...@abv?$vnl_matrix@N@@@Z)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "void __cdecl vcl_cassert_failure(char const 
*,int,char const *)" (?vcl_cassert_failure@@yaxpb...@z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "void __cdecl 
vcl_cassert_failure(char const *,int,char const *)" 
(?vcl_cassert_failure@@yaxpb...@z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "void __cdecl vcl_cassert_failure(char const *,int,char const 
*)" (?vcl_cassert_failure@@yaxpb...@z)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: __thiscall 
vnl_svd<double>::vnl_svd<double>(class vnl_matrix<double> const &,double)" 
(??0?$vnl_...@n@@q...@abv?$vnl_matrix@N@@n...@z) referenced in function 
"public: __thiscall 
vnl_matrix_inverse<double>::vnl_matrix_inverse<double>(class vnl_matrix<double> 
const &)" (??0?$vnl_matrix_inve...@n@@q...@abv?$vnl_matrix@N@@@Z)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "public: __thiscall 
vnl_svd<double>::vnl_svd<double>(class vnl_matrix<double> const &,double)" 
(??0?$vnl_...@n@@q...@abv?$vnl_matrix@N@@n...@z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "public: 
__thiscall vnl_svd<double>::vnl_svd<double>(class vnl_matrix<double> const 
&,double)" (??0?$vnl_...@n@@q...@abv?$vnl_matrix@N@@n...@z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "public: __thiscall vnl_svd<double>::vnl_svd<double>(class 
vnl_matrix<double> const &,double)" 
(??0?$vnl_...@n@@q...@abv?$vnl_matrix@N@@n...@z)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: static double * * __cdecl 
vnl_c_vector<double>::allocate_Tptr(int)" 
(?allocate_t...@?$vnl_c_vector@N@@sapap...@z) referenced in function "public: 
__thiscall vnl_matrix_ref<double>::vnl_matrix_ref<double>(unsigned int,unsigned 
int,double *)" (??0?$vnl_matrix_...@n@@q...@iipan@Z)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "public: static double * * __cdecl 
vnl_c_vector<double>::allocate_Tptr(int)" 
(?allocate_t...@?$vnl_c_vector@N@@sapap...@z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "public: 
static double * * __cdecl vnl_c_vector<double>::allocate_Tptr(int)" 
(?allocate_t...@?$vnl_c_vector@N@@sapap...@z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "public: static double * * __cdecl 
vnl_c_vector<double>::allocate_Tptr(int)" 
(?allocate_t...@?$vnl_c_vector@N@@sapap...@z)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: class vnl_matrix<double> __thiscall 
vnl_svd<double>::pinverse(unsigned int)const " 
(?pinve...@?$vnl_svd@N@@qbe?av?$vnl_mat...@n@@i...@z) referenced in function 
"public: class vnl_matrix<double> __thiscall 
vnl_svd<double>::inverse(void)const " 
(?inve...@?$vnl_svd@N@@qbe?av?$vnl_mat...@n@@XZ)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "public: class vnl_matrix<double> __thiscall 
vnl_svd<double>::pinverse(unsigned int)const " 
(?pinve...@?$vnl_svd@N@@qbe?av?$vnl_mat...@n@@i...@z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "public: class 
vnl_matrix<double> __thiscall vnl_svd<double>::pinverse(unsigned int)const " 
(?pinve...@?$vnl_svd@N@@qbe?av?$vnl_mat...@n@@i...@z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "public: class vnl_matrix<double> __thiscall 
vnl_svd<double>::pinverse(unsigned int)const " 
(?pinve...@?$vnl_svd@N@@qbe?av?$vnl_mat...@n@@i...@z)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: __thiscall 
vnl_vector<double>::~vnl_vector<double>(void)" (??1?$vnl_vec...@n@@q...@xz) 
referenced in function "public: __thiscall 
vnl_diag_matrix<double>::~vnl_diag_matrix<double>(void)" 
(??1?$vnl_diag_mat...@n@@q...@xz)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "public: __thiscall 
vnl_vector<double>::~vnl_vector<double>(void)" (??1?$vnl_vec...@n@@q...@xz)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "public: 
__thiscall vnl_vector<double>::~vnl_vector<double>(void)" 
(??1?$vnl_vec...@n@@q...@xz)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "public: __thiscall 
vnl_vector<double>::~vnl_vector<double>(void)" (??1?$vnl_vec...@n@@q...@xz)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "double __cdecl vnl_determinant<double>(class 
vnl_matrix<double> const &,bool)" 
(??$vnl_determin...@n@@yanabv?$vnl_mat...@n@@_...@z) referenced in function 
"double __cdecl vnl_determinant<double,3,3>(class vnl_matrix_fixed<double,3,3> 
const &,bool)" 
(??$vnl_determin...@n$02$02@@yanabv?$vnl_matrix_fi...@n$02$02@@_...@z)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "double __cdecl vnl_determinant<double>(class 
vnl_matrix<double> const &,bool)" 
(??$vnl_determin...@n@@yanabv?$vnl_mat...@n@@_...@z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "double 
__cdecl vnl_determinant<double>(class vnl_matrix<double> const &,bool)" 
(??$vnl_determin...@n@@yanabv?$vnl_mat...@n@@_...@z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "double __cdecl vnl_determinant<double>(class 
vnl_matrix<double> const &,bool)" 
(??$vnl_determin...@n@@yanabv?$vnl_mat...@n@@_...@z)
1>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "void __cdecl vnl_error_matrix_nonsquare(char const 
*)" (?vnl_error_matrix_nonsquare@@yax...@z) referenced in function "public: 
void __thiscall vnl_matrix_fixed<double,3,3>::set_identity(void)" 
(?set_ident...@?$vnl_matrix_fixed@N$02$02@@QAEXXZ)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: 
unresolved external symbol "void __cdecl vnl_error_matrix_nonsquare(char const 
*)" (?vnl_error_matrix_nonsquare@@yax...@z)
1>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "void __cdecl 
vnl_error_matrix_nonsquare(char const *)" 
(?vnl_error_matrix_nonsquare@@yax...@z)
1>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved 
external symbol "void __cdecl vnl_error_matrix_nonsquare(char const *)" 
(?vnl_error_matrix_nonsquare@@yax...@z)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: __thiscall vnl_vector<unsigned 
int>::~vnl_vector<unsigned int>(void)" (??1?$vnl_vec...@i@@q...@xz) referenced 
in function "public: __thiscall itk::Array<unsigned int>::~Array<unsigned 
int>(void)" (??1?$ar...@i@itk@@q...@xz)
1>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2019: 
unresolved external symbol "public: bool __thiscall vnl_vector<unsigned 
int>::set_size(unsigned int)" (?set_s...@?$vnl_vector@I@@qae...@z) referenced 
in function "public: void __thiscall itk::Array<unsigned int>::SetSize(unsigned 
int)" (?sets...@?$array@i...@itk@@qa...@z)
1>ITKCommon.lib(itkObjectFactoryBase.obj) : error LNK2019: unresolved external 
symbol "public: static char const * __cdecl 
itksys::DynamicLoader::LibExtension(void)" 
(?libextens...@dynamicloader@itksys@@SAPBDXZ) referenced in function "bool 
__cdecl itk::NameIsSharedLibrary(char const *)" 
(?nameissharedlibr...@itk@@ya_n...@z)
1>ITKCommon.lib(itkDynamicLoader.obj) : error LNK2001: unresolved external 
symbol "public: static char const * __cdecl 
itksys::DynamicLoader::LibExtension(void)" 
(?libextens...@dynamicloader@itksys@@SAPBDXZ)
1>ITKCommon.lib(itkMultiThreader.obj) : error LNK2019: unresolved external 
symbol "public: static bool __cdecl itksys::SystemTools::GetEnv(char const 
*,class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > &)" 
(?get...@systemtools@itksys@@sa_npbdaav?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
 referenced in function "public: static int __cdecl 
itk::MultiThreader::GetGlobalDefaultNumberOfThreads(void)" 
(?getglobaldefaultnumberofthre...@multithreader@itk@@SAHXZ)
1>ITKCommon.lib(itkMultiThreader.obj) : error LNK2019: unresolved external 
symbol "public: __thiscall 
itksys::SystemToolsManager::SystemToolsManager(void)" 
(??0systemtoolsmana...@itksys@@q...@xz) referenced in function "void __cdecl 
itksys::`dynamic initializer for 'SystemToolsManagerInstance''(void)" 
(??__esystemtoolsmanagerinsta...@itksys@@YAXXZ)
1>ITKCommon.lib(itkMultiThreader.obj) : error LNK2019: unresolved external 
symbol "public: __thiscall 
itksys::SystemToolsManager::~SystemToolsManager(void)" 
(??1systemtoolsmana...@itksys@@q...@xz) referenced in function "void __cdecl 
itksys::`dynamic atexit destructor for 'SystemToolsManagerInstance''(void)" 
(??__fsystemtoolsmanagerinsta...@itksys@@YAXXZ)
1>ITKCommon.lib(itkDynamicLoader.obj) : error LNK2019: unresolved external 
symbol "public: static struct HINSTANCE__ * __cdecl 
itksys::DynamicLoader::OpenLibrary(char const *)" 
(?openlibr...@dynamicloader@itksys@@SAPAUHINSTANCE__@@p...@z) referenced in 
function "public: static struct HINSTANCE__ * __cdecl 
itk::DynamicLoader::OpenLibrary(char const *)" 
(?openlibr...@dynamicloader@itk@@SAPAUHINSTANCE__@@p...@z)
1>ITKCommon.lib(itkDynamicLoader.obj) : error LNK2019: unresolved external 
symbol "public: static int __cdecl itksys::DynamicLoader::CloseLibrary(struct 
HINSTANCE__ *)" (?closelibr...@dynamicloader@itksys@@SAHPAUHINSTANCE__@@@Z) 
referenced in function "public: static int __cdecl 
itk::DynamicLoader::CloseLibrary(struct HINSTANCE__ *)" 
(?closelibr...@dynamicloader@itk@@SAHPAUHINSTANCE__@@@Z)
1>ITKCommon.lib(itkDynamicLoader.obj) : error LNK2019: unresolved external 
symbol "public: static void (__cdecl*__cdecl 
itksys::DynamicLoader::GetSymbolAddress(struct HINSTANCE__ *,char const 
*))(void)" 
(?getsymboladdr...@dynamicloader@itksys@@SAP6AXXZPAUHINSTANCE__@@p...@z) 
referenced in function "public: static void * __cdecl 
itk::DynamicLoader::GetSymbolAddress(struct HINSTANCE__ *,char const *)" 
(?getsymboladdr...@dynamicloader@itk@@SAPAXPAUHINSTANCE__@@p...@z)
1>ITKCommon.lib(itkDynamicLoader.obj) : error LNK2019: unresolved external 
symbol "public: static char const * __cdecl 
itksys::DynamicLoader::LibPrefix(void)" 
(?libpre...@dynamicloader@itksys@@SAPBDXZ) referenced in function "public: 
static char const * __cdecl itk::DynamicLoader::LibPrefix(void)" 
(?libpre...@dynamicloader@itk@@SAPBDXZ)
1>ITKCommon.lib(itkDynamicLoader.obj) : error LNK2019: unresolved external 
symbol "public: static char const * __cdecl 
itksys::DynamicLoader::LastError(void)" 
(?laster...@dynamicloader@itksys@@SAPBDXZ) referenced in function "public: 
static char const * __cdecl itk::DynamicLoader::LastError(void)" 
(?laster...@dynamicloader@itk@@SAPBDXZ)
1>ITKCommon.lib(itkDirectory.obj) : error LNK2019: unresolved external symbol 
"public: __thiscall itksys::Directory::Directory(void)" 
(??0direct...@itksys@@q...@xz) referenced in function "protected: __thiscall 
itk::Directory::Directory(void)" (??0direct...@itk@@i...@xz)
1>ITKCommon.lib(itkDirectory.obj) : error LNK2019: unresolved external symbol 
"public: __thiscall itksys::Directory::~Directory(void)" 
(??1direct...@itksys@@q...@xz) referenced in function "public: void * 
__thiscall itksys::Directory::`scalar deleting destructor'(unsigned int)" 
(??_gdirect...@itksys@@qaep...@z)
1>ITKCommon.lib(itkDirectory.obj) : error LNK2019: unresolved external symbol 
"public: char const * __thiscall itksys::Directory::GetFile(unsigned long)const 
" (?getf...@directory@itksys@@qbep...@z) referenced in function "protected: 
virtual void __thiscall itk::Directory::PrintSelf(class 
std::basic_ostream<char,struct std::char_traits<char> > &,class 
itk::Indent)const " 
(?prints...@directory@itk@@mbexaav?$basic_ostr...@du?$char_traits@d...@std@@@std@@vind...@2@@Z)
1>ITKCommon.lib(itkDirectory.obj) : error LNK2019: unresolved external symbol 
"public: unsigned long __thiscall 
itksys::Directory::GetNumberOfFiles(void)const " 
(?getnumberoffi...@directory@itksys@@QBEKXZ) referenced in function "protected: 
virtual void __thiscall itk::Directory::PrintSelf(class 
std::basic_ostream<char,struct std::char_traits<char> > &,class 
itk::Indent)const " 
(?prints...@directory@itk@@mbexaav?$basic_ostr...@du?$char_traits@d...@std@@@std@@vind...@2@@Z)
1>ITKCommon.lib(itkDirectory.obj) : error LNK2019: unresolved external symbol 
"public: char const * __thiscall itksys::Directory::GetPath(void)const " 
(?getp...@directory@itksys@@QBEPBDXZ) referenced in function "protected: 
virtual void __thiscall itk::Directory::PrintSelf(class 
std::basic_ostream<char,struct std::char_traits<char> > &,class 
itk::Indent)const " 
(?prints...@directory@itk@@mbexaav?$basic_ostr...@du?$char_traits@d...@std@@@std@@vind...@2@@Z)
1>ITKCommon.lib(itkDirectory.obj) : error LNK2019: unresolved external symbol 
"public: bool __thiscall itksys::Directory::Load(char const *)" 
(?l...@directory@itksys@@qae_n...@z) referenced in function "public: bool 
__thiscall itk::Directory::Load(char const *)" (?l...@directory@itk@@qae_n...@z)
1>C:\vtkedge\bin\Debug\vtkKWEWidgets.dll : fatal error LNK1120: 26 unresolved 
externals
_______________________________________________
VtkEdge mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge

Reply via email to