[Insight-users] Compiling applications

Karthik Krishnan Karthik.Krishnan at kitware.com
Tue Nov 15 17:34:16 EST 2005



Ken Urish wrote:

> Sorry for another "I cant get the example applications to compile 
> question"...., but I cant get the ITK applications to compile.
>
> I get the following errors -
> 1) fltk:     Canot open fltk_jpeg.lib

When you built FLTK, (probably using cmake), did you forget to set the 
FLTK_USE_SYSTEM_JPEG to OFF. Most likely you do not already have jpeg 
libs in your machine. So you have to turn this OFF, so FLTK will build 
the fltk_jpeg lib for you. (You might want to do the same for the png 
and zlib libraries)

> 2) fltk:     '=': conversion from short to uchar, possible loss of data
> 3) vtk:     cannot open include file: 'vtkAlgorithms.h'

Build against CVS VTK. (or at least vtk 5.0 )

> 4) vtk:     'AddViewiProp': is not a memebr of 'vtkRenderer'

Build against CVS VTK. (or at least vtk 5.0 )

>
> Im running:
> - ITKv2.2, VTK4.4, FLTKv1.1.6
> - Microsoft Visual Studio 7 in Release mode.
> At first I thought it was because I was running FLTKv1.1.6 but I was 
> getting similar errors with FLTKv1.1.4.  Its the FLTK that I really 
> want to get to work.
>
> Also, I want to compile the QT examples but I am not even getting that 
> option on the cmake setup? How do I compile the QT/ITK examples? Any 
> thoughts would be appreciated.
>
> Thanks
> --Ken--
>
> Ken Urish
> Univeristy of Pittsburgh
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list