[Insight-users] link error in itkApplication
Luis Ibanez
luis.ibanez at kitware.com
Sun Nov 7 08:58:27 EST 2004
Hi Jim,
Thanks for pointing this out.
It seems that we missed to update the README.txt file
for the ITK release 1.8.
We just committed a fix for this file. It now says:
>
> * VTK requires VTK version 4.4 and must be built ANSI_STDLIB
> (the ANSI_STDLIB flag is only a concern with VisualStudio 6.0).
>
> * CMake version 2.0.3 or later should be used.
>
> * FLTK version 1.1.4 is required
>
> * Qt version 2.3 is required (if you select to build Qt examples)
>
Please let us know if you encounter any other problem.
Thanks
Luis
----------------------
Jim Lii wrote:
> Really?! The InsightApplications 1.8 README.txt indicates VTK 4.2.
>
> InsightApplications README
> --------------------------
> This directory contains a variety of applications written with ITK.
> Many are
> quite simple, come are complex and include GUI. Insight/Applications was
> originally a directory within the Insight source code repository. However,
> because of the size and complexity of this directory, the applications are
> now a separate software module (e.g., CVS checkout). Please make sure that
> you successfully build the core ITK prior to building this directory.
> Many of
> these applications are tricky to build and depend on external packages.
> Some important configuration details:
> * VTK requires VTK version 4.2 and must be built ANSI_STDLIB
> (the ANSI_STDLIB flag is only a concern with VisualStudio 6.0).
> * CMake version 1.8.3 or later should be used.
> * FLTK version 1.1.4 is required
> * Qt version 2.3 is required
> Building with any other configurations is liable to give problems.
> Unfortunately, developers are unlikely to help with problems due to
> using other configurations.
>
>
>
> */Luis Ibanez <luis.ibanez at kitware.com>/* wrote:
>
>
> Hi Jie,
>
> InsightApplications 1.8 must be built against VTK 4.4.
>
>
> Regards,
>
>
> Luis
>
>
> ----------------
> Jie Zhu wrote:
>
> > Hi All,
> > I am already using ITK and Vtk and I am now trying to use the
> > itkApplication geodesicActiveContour. The compiling works fine, but
> > during linking, about 200s of the following error occurs.
> > Why is this happening? I am using VTK4.2 and insight1.8.1.
> > I double checked and there is only this one version of Vtk
> installed.
> >
> > Thanks,
> > Jie
> >
> >
> > GeodesicActiveContour.obj : error LNK2019: unresolved external
> symbol
> > "__declspec(dllimport) public: void __thiscall
> > vtkViewport::AddProp(class vtkProp *)"
> > (__imp_?AddProp at vtkViewport@@QAEXPAVvtkProp@@@Z) referenced in
> > function "protected: __thiscall
> > fltk::VTKImageViewer::VTKImageViewer(void)"
> > (??0?$VTKImageViewer at E@fltk@@IAE at XZ)
> >
> >
> > ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001:
> unresolved
> > external symbol "__declspec(dllimport) public: static void __cdecl
> > vtkObject::operator delete(void *)" (__imp_??3vtkObject@@SAXPAX at Z)
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
>
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Check out the new Yahoo! Front Page. www.yahoo.com <http://www.yahoo.com>
More information about the Insight-users
mailing list