[Insight-users] CMake Commands for RegionGrowingSegmentation
in ITK 1.6 Applications
Luis Ibanez
luis.ibanez at kitware.com
Tue Jul 6 20:24:28 EDT 2004
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
> <http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotions.yahoo.com/new_mail/static/efficiency.html>
> - 50x more storage than other providers!
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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