<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Luis,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you very much for the answer. Following your
tips I was able to compile the whole application directory. However, I realized
that I need also to have the VTK package installed in order to be able to
compile CellularSegmentation example. Anyway, now I have the example up and
running :).</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>Regards,</DIV>
<DIV>César.-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV>-----------------------------------------------------------<BR>Cesar
Araujo, Lic. of Chemistry<BR>Research Center for Molecular Endocrinology<BR>P.O.
Box 5000, FIN-90014 University of Oulu<BR>Finland</DIV>
<DIV> </DIV>
<DIV>phone: +358 8 3155632<BR>e-mail: <A
href="mailto:cesar.araujo@oulu.fi">cesar.araujo@oulu.fi</A><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=luis.ibanez@kitware.com href="mailto:luis.ibanez@kitware.com">Luis
Ibanez</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cesar.araujo@oulu.fi
href="mailto:cesar.araujo@oulu.fi">Cesar Araujo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=insight-users@itk.org
href="mailto:insight-users@itk.org">insight-users@itk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 13, 2007 4:07 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Insight-users] Problemas
con CellSegmentation...</DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>Hi Cesar, <BR><BR> Welcome
to ITK !<BR><BR>Please note that you must build InisghtApplications by
configuring the <BR>top directory, not the subdirectories.<BR><BR>You should
run CMake and provide the top directory of InsightApplications <BR>as the
"SOURCE" directory. Then you must provide in the ITK_DIR variable<BR>the
binary directory where you built ITK.<BR><BR>Once you have configured the
entire InsightApplications tree, then<BR>you can build any of the individual
directories by just "cd" into it <BR>and calling "make".<BR><BR><BR>BTW:
Please note that the "CellularSegmentation" application is not<BR>an
application for segmenting cells out of microscopy images. Instead<BR>it is a
segmentation method that "emulates" biological cells in order <BR>to implement
a variation of a Region Growing
algorithm.<BR><BR><BR>
Regards,<BR><BR><BR>
Luis<BR><BR><BR><BR>--------------------------------------------------------------------------<BR>
<DIV><SPAN class=gmail_quote>On 7/13/07, <B class=gmail_sendername>Cesar
Araujo</B> <<A
href="mailto:cesar.araujo@oulu.fi">cesar.araujo@oulu.fi</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>Hi,</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>I'm a newbie ITK user.
I installed the ITK toolkit following the documentation. I have downloaded
and installed also the InsightApplications. I could compile and run the
HelloWorld example suggested in the documentation. However, when I try to
compile the Applications for instance, CellularSegmentation it fails. I can
run ccmake successfully after add and setup the FLTK_FLUID_EXECUTABLE to the
proper value. However, when I run the "make" command it gives a lot of
errors. Still I couldn't compile any of the application examples. I would
appreciate any suggestion.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>Thanks in
advance,<BR>César.-</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2>-----------------------------------------------------------<BR>Cesar
Araujo, Lic. of Chemistry<BR>Research Center for Molecular
Endocrinology<BR>P.O. Box 5000, FIN-90014 University of
Oulu<BR>Finland</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>phone: +358 8
3155632<BR>e-mail: <A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:cesar.araujo@oulu.fi" target=_blank>cesar.araujo@oulu.fi
</A><BR></FONT></FONT></DIV></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>PS: This is the list of
errors that I've got:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>In file included from
/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:4:<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:9:22:
itkImage.h: No such file or
directory<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:10:32:
itkImageFileReader.h: No such file or
directory<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:11:38:
itkImageToVTKImageFilter.h: No such file or
directory<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:12:44:
itkRescaleIntensityImageFilter.h: No such file or
directory<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:13:24:
itkCommand.h: No such file or directory<BR>In file included from
/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:4:<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:25:
error: ISO<BR> C++ forbids declaration of `itk' with no
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:25:
error: parse<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27:
error: ISO<BR> C++ forbids declaration of `Image' with no
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27:
error: template-id<BR> `Image<unsigned char, 2>' used as a
declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27:
error: parse<BR> error before `;'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29:
error: `<BR> ImageType' was not declared in this
scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29:
error: ISO<BR> C++ forbids declaration of `ImageFileReader' with
no
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29:
error: template-id<BR> `ImageFileReader<<expression
error> >' used as a
declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29:
error: parse<BR> error before `;'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:32:
error: `<BR> ImageType' was not declared in this
scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33:
error: `<BR> VisualizationImageType' was not declared in this
scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33:
error: ISO<BR> C++ forbids declaration of
`RescaleIntensityImageFilter' with no
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33:
error: template-id<BR>
`RescaleIntensityImageFilter<<expression error>, <expression
error> >' used <BR> as a
declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33:
error: parse<BR> error before `;'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36:
error: `<BR> VisualizationImageType' was not declared in this
scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36:
error: ISO<BR> C++ forbids declaration of
`ImageToVTKImageFilter' with no
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36:
error: template-id<BR> `ImageToVTKImageFilter<<expression
error> >' used as a
declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36:
error: parse<BR> error before `;'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39:
error: ISO<BR> C++ forbids declaration of `SimpleMemberCommand'
with no
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39:
error: template-id<BR>
`SimpleMemberCommand<CellularSegmentationApplicationBase>' used as a
<BR>
declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39:
error: parse<BR> error before `;'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:57:
error: syntax<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:59:
error: syntax<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:61:
error: syntax<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:63:
error: syntax<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:
In<BR> constructor `<BR>
CellularSegmentationApplicationBase::CellularSegmentationApplicationBase()':<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10:
error: `<BR> m_ImageReader' undeclared (first use this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10:
error: (Each<BR> undeclared identifier is reported only once for
each function it appears <BR>
in.)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10:
error: `<BR> ImageReaderType' undeclared (first use this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10:
error: parse<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12:
error: `<BR> m_RescaleIntensity' undeclared (first use this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12:
error: `<BR> RescaleIntensityFilterType' undeclared (first use
this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12:
error: parse<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14:
error: `<BR> m_ITK2VTKAdaptor' undeclared (first use this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14:
error: `<BR> ITK2VTKAdaptorFilterType' undeclared (first use
this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14:
error: parse<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16:
error: parse<BR> error before `>'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16:
error: `::<BR> max' undeclared (first use
here)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16:
error: parse<BR> error before `)'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17:
error: `<BR> int' is not an aggregate
type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17:
error: parse<BR> error before `>'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17:
error: `::<BR> min' undeclared (first use
here)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17:
error: parse<BR> error before `)'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19:
error: `<BR> m_IterationObserver' undeclared (first use this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19:
error: `<BR> IterationObserverType' undeclared (first use this
function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19:
error: parse<BR> error before `::'
token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:
In<BR> member function `virtual void <BR>
CellularSegmentationApplicationBase::IterationCallback()':<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:54:
error: `<BR> cout' undeclared in namespace
`std'<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:54:
error: `<BR> endl' undeclared in namespace `std'<BR>make[2]: ***
[CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o]
Error 1<BR>make[1]: *** [CMakeFiles/CellularSegmentation.dir/all] Error
2<BR>make: *** [all] Error 2 </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV></DIV></DIV><BR>_______________________________________________<BR>Insight-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Insight-users@itk.org">Insight-users@itk.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.itk.org/mailman/listinfo/insight-users"
target=_blank>http://www.itk.org/mailman/listinfo/insight-users</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>