<!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>&nbsp;</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&nbsp;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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Regards,<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Luis<BR><BR><BR><BR>--------------------------------------------------------------------------<BR>
  <DIV><SPAN class=gmail_quote>On 7/13/07, <B class=gmail_sendername>Cesar 
  Araujo</B> &lt;<A 
  href="mailto:cesar.araujo@oulu.fi">cesar.araujo@oulu.fi</A>&gt; 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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>
    <DIV><FONT face=Arial size=2><FONT face=Arial 
    size=2></FONT></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp; C++ forbids declaration of `itk' with no 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:25: 
    error: parse<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27: 
    error: ISO<BR>&nbsp;&nbsp; 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>&nbsp;&nbsp; `Image&lt;unsigned char, 2&gt;' used as a 
    declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27: 
    error: parse<BR>&nbsp;&nbsp; error before `;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
    error: `<BR>&nbsp;&nbsp; ImageType' was not declared in this 
    scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
    error: ISO<BR>&nbsp;&nbsp; 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>&nbsp;&nbsp; `ImageFileReader&lt;&lt;expression 
    error&gt; &gt;' used as a 
    declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
    error: parse<BR>&nbsp;&nbsp; error before `;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:32: 
    error: `<BR>&nbsp;&nbsp; ImageType' was not declared in this 
    scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33: 
    error: `<BR>&nbsp;&nbsp; VisualizationImageType' was not declared in this 
    scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33: 
    error: ISO<BR>&nbsp;&nbsp; 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>&nbsp;&nbsp; 
    `RescaleIntensityImageFilter&lt;&lt;expression error&gt;, &lt;expression 
    error&gt; &gt;' used <BR>&nbsp;&nbsp; as a 
    declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33: 
    error: parse<BR>&nbsp;&nbsp; error before `;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
    error: `<BR>&nbsp;&nbsp; VisualizationImageType' was not declared in this 
    scope<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
    error: ISO<BR>&nbsp;&nbsp; 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>&nbsp;&nbsp; `ImageToVTKImageFilter&lt;&lt;expression 
    error&gt; &gt;' used as a 
    declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
    error: parse<BR>&nbsp;&nbsp; error before `;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39: 
    error: ISO<BR>&nbsp;&nbsp; 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>&nbsp;&nbsp; 
    `SimpleMemberCommand&lt;CellularSegmentationApplicationBase&gt;' used as a 
    <BR>&nbsp;&nbsp; 
    declarator<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39: 
    error: parse<BR>&nbsp;&nbsp; error before `;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:57: 
    error: syntax<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:59: 
    error: syntax<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:61: 
    error: syntax<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:63: 
    error: syntax<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx: 
    In<BR>&nbsp;&nbsp; constructor `<BR>&nbsp;&nbsp; 
    CellularSegmentationApplicationBase::CellularSegmentationApplicationBase()':<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10: 
    error: `<BR>&nbsp;&nbsp; m_ImageReader' undeclared (first use this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10: 
    error: (Each<BR>&nbsp;&nbsp; undeclared identifier is reported only once for 
    each function it appears <BR>&nbsp;&nbsp; 
    in.)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10: 
    error: `<BR>&nbsp;&nbsp; ImageReaderType' undeclared (first use this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10: 
    error: parse<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12: 
    error: `<BR>&nbsp;&nbsp; m_RescaleIntensity' undeclared (first use this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12: 
    error: `<BR>&nbsp;&nbsp; RescaleIntensityFilterType' undeclared (first use 
    this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12: 
    error: parse<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14: 
    error: `<BR>&nbsp;&nbsp; m_ITK2VTKAdaptor' undeclared (first use this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14: 
    error: `<BR>&nbsp;&nbsp; ITK2VTKAdaptorFilterType' undeclared (first use 
    this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14: 
    error: parse<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
    error: parse<BR>&nbsp;&nbsp; error before `&gt;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
    error: `::<BR>&nbsp;&nbsp; max' undeclared (first use 
    here)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
    error: parse<BR>&nbsp;&nbsp; error before `)' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
    error: `<BR>&nbsp;&nbsp; int' is not an aggregate 
    type<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
    error: parse<BR>&nbsp;&nbsp; error before `&gt;' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
    error: `::<BR>&nbsp;&nbsp; min' undeclared (first use 
    here)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
    error: parse<BR>&nbsp;&nbsp; error before `)' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19: 
    error: `<BR>&nbsp;&nbsp; m_IterationObserver' undeclared (first use this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19: 
    error: `<BR>&nbsp;&nbsp; IterationObserverType' undeclared (first use this 
    function)<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19: 
    error: parse<BR>&nbsp;&nbsp; error before `::' 
    token<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx: 
    In<BR>&nbsp;&nbsp; member function `virtual void <BR>&nbsp;&nbsp; 
    CellularSegmentationApplicationBase::IterationCallback()':<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:54: 
    error: `<BR>&nbsp;&nbsp; cout' undeclared in namespace 
    `std'<BR>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:54: 
    error: `<BR>&nbsp;&nbsp; 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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><FONT face=Arial 
    size=2></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><FONT face=Arial 
    size=2></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><FONT face=Arial 
    size=2></FONT></FONT>&nbsp;</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>