[Insight-users] Errors in Application.

Luis Ibanez luis . ibanez at kitware . com
Mon, 12 May 2003 09:20:46 -0400


Hi Yasser,

It looks like you are mixing VTK versions.


1) What versions of ITK and VTK are you using ?

2) What platform are you using ?

3) Please make sure that there are no other
    versions of VTK installed in your system.
    One way of getting the errors you reported
    is to compile using the headers of one VTK
    version, but linking with the libraries of
    anoter VTK version.


The recommended VTK version is 4.2



Regards,


   Luis


-------------------------
yasser salman wrote:
> hi all.,
> i already compile and run tests in VTK ,FTK  and ITK,, when t'm trying to run application "RegionGrowingSegmentation2D"  it works good..
> "GeodesicActiveContour" the following LIB error occured (about 174 errors):
> i recompile vtk to make sure all libs had been generated but no change..
> 
> 
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkRenderWindowInteractor::PrintSelf(class std::basic_ostream<char,struct std::char_traits<char> > &,class vtkIndent)" (?Pri
> ntSelf@vtkRenderWindowInteractor@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VvtkIndent@@@Z)
> vtkRendering.lib(vtkCellPicker.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class ostream &,class vtkIndent)" (?PrintTrailer@vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
> 
> also in application :RegionGrowingSegmentation" the same.but 2 errors only:
> 
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkRenderWindowInteractor::PrintSelf(class std::basic_ostream<char,struct std::char_traits<char> > &,class vtkIndent)" (?Pri
> ntSelf@vtkRenderWindowInteractor@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VvtkIndent@@@Z)
> Debug/RegionGrowingSegmentation.exe : fatal error LNK1120: 1 unresolved externals..
> 
> also i generate the ItkVtkFltk.lib..
> thanx..
> yasser
> Error executing link.exe.
> 
> 
> 
> 
> _____________________________________________________________
> Your own email, free website, free software and services at 
> 
> http://www.uscomputer.net/portal.htm 
> - courtesy of U.S. Computer Corporation -
> 
> _____________________________________________________________
> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>