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

Luis Ibanez luis.ibanez at kitware.com
Sun Jul 11 23:09:42 EDT 2004


Hi Neha,


Please read the tutorial sessions

    http://www.itk.org/HTML/Tutorials.htm

In particular

http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf

where the use of FLTK and Qt libraries along with ITK
is explained in detail.

You will find there instructions regarding the setup
of the CMake variables for FLTK.


Note that FLTK is an open source library. Once you
download the source code you *must* build it. Please
refer to the instructions in the fltk.org web site
regarding the build process for FLTK.



Note also that for ITK 1.6, you should use

            FLTK 1.1.4 and  VTK 4.2.


(You wrote VTK 1.4, I assume that was a typo)




    Regards,



      Luis



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

> Hello All,
>  
> I am trying to build ITK application "RegionGrowingSegmentation" that 
> requires FLTK and VTK.  I have downloaded ITK 1.6, FLTK 1.1x, VTK 1.4. 
> When I try to configure ITKApplications with VTK and FLTK option ON, i 
> get following in CMAKE:
> FLTK_BASE_LIBARY NOT FOUND
> FLTK_FLUID_EXECUTABLE NOT FOUND
> FLTK_FORMS_LIBARY NOT FOUND ......etc.  Basiclaly, CMAKE does not find 
> anythng related to FLTK.  I am not sure what folders/files i need to 
> specify manually using brwose button in CMAKE.  GettingStarted.pdf guide 
> says - download and install FLTK.  Do I need to install FLTK by running 
> setup/install file after I extract FLTK files?  I did not find any. 
> 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 defined by CMake or I need
>     to set
>      > them again in CMakeLists.txt.
>      >
>      > Any input on this is appreciated.
>      >
>      > Thanks,
>      >
>      > Neha
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      > Do you Yahoo!?
>      > Yahoo! Mail
>      >
>      > - 50x more storage than other providers!
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Insight-users mailing list
>      > Insight-users at itk.org
>      > http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 
>      
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete 
> <http://us.rd.yahoo.com/mail_us/taglines/aac/*http://promotions.yahoo.com/new_mail/static/ease.html> 
> - You start. We finish.





More information about the Insight-users mailing list