[Insight-users] CMake Commands for RegionGrowingSegmentation in ITK 1.6 Applications

Luis Ibanez luis.ibanez at kitware.com
Sat Jul 10 23:27:36 EDT 2004


Hi Neha,

You are using FLTK 1.1.5,

The recommended version to use is FLTK 1.1.4.

Regards,


    Luis


-------------------
neha k wrote:

> Hello,
>  
> For using RegionGrowing Segmentation, I have downloaded FLTK 1.1x.  I 
> first tried to compile FLTK-fltk.dsw with MSVC++ 6.0.  During 
> compilation of FLTK, I received following error:
>  
> :\ITK_1.6\fltk-1.1.5rc1\src\Fl_JPEG_Image.cxx(53) : fatal error C1083: 
> Cannot open include file: 'jpeglib.h': No such file or directory
> Fl_PNG_Image.cxx
> C:\ITK_1.6\fltk-1.1.5rc1\src\Fl_PNG_Image.cxx(44) : fatal error C1083: 
> Cannot open include file: 'zlib.h': No such file or directory
> Fl_PNM_Image.cxx
> CubeViewd.exe - 2 error(s), 0 warning(s)
> I did not find these header files in source tree of fltk.   I am not 
> sure where to lookinto for these files.  Any input on this is 
> appreciated.  
> Thanks,
> Neha
> 
> */Luis Ibanez <luis.ibanez at kitware.com>/* wrote:
> 
> 
>     Hi Neha,
> 
>     InsightApplications *must* be configured with CMake from
>     the top level directory, not from any of the project subdirectories.
>     That is, you cannot simply configure one of the subprojects.
> 
>     The reason is that there are a number of resources that are shared
>     among several applications. In particular the libraries created in
>     Auxiliary/FltkImageViewer.
> 
>     Please configure the project form the top level directory, and
>     open the top level .dsw workspace. Once you open this workspace
>     you can buil the single "RegionGrowingSegmentation" project.
> 
>     Dependencies will take care of building any additional libraries
>     required.
> 
>     Also make sure that when you configure InsightApplications you
>     provide the elements for FLTK and VTK. You will find instructions
>     on this in the Tutorial Sessions.
> 
>     http://www.itk.org/HTML/Tutorials.htm
> 
>     in particular in
> 
>     http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf
>     http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf
> 
> 
>     Regards,
> 
> 
>     Luis
> 
> 
> 
>     ---------------
>     neha k wrote:
> 
>      > Hello all,
>      >
>      > I am trying to use ITK 1.6 applications for the first time. When I
>      > tried to run Cmake for
>     ITK1.6\Applications\RegionGrowingSegmentation, I
>      > received errors for following 3 commands in CMakeLists.txt.
>      >
>      > ADD_GUI_EXECUTABLE(RegionGrowingSegmentation2D
>      > "${RegionGrowingSegmentation2D_SRCS}")
>      > FLTK_WRAP_UI( RegionGrowingSegmentation2D
>      > ${RegionGrowingSegmentation2D_GUI_SRCS})
>      >
>     ITK_DISABLE_FLTK_GENERATED_WARNINGS("${RegionGrowingSegmentation2D_GUI_SRCS}")
>      >
>      > I did "find in files" in all files under main ITK folder, but did
>     not
>      > find them. Are these commands already defi ned by CMake or I need
>     to set
>      > them again in CMakeLists.txt.
>      >
>      > Any input on this is appreciated.
>      >
>      > Thanks,
>      >
>      > Neha
>      >




More information about the Insight-users mailing list