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 &quot;SOURCE&quot; 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 &quot;cd&quot; into it
<br>and calling &quot;make&quot;.<br><br><br>BTW: Please note that the &quot;CellularSegmentation&quot; application is not<br>an application for segmenting cells out of microscopy images. Instead<br>it is a segmentation method that &quot;emulates&quot; 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<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>&nbsp;</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>&nbsp;</font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2">I&#39;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 &quot;make&quot; 
command it gives a lot of errors. Still I couldn&#39;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>&nbsp;</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>&nbsp;</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>&nbsp;</font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2">phone: +358 8 3155632<br>e-mail: <a href="mailto:cesar.araujo@oulu.fi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cesar.araujo@oulu.fi
</a><br></font></font></div></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font>&nbsp;</font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2">PS: This is the list of errors that I&#39;ve 
got:</font></font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font>&nbsp;</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>&nbsp;&nbsp; C++ forbids declaration of `itk&#39; with no 
type<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:25: 
error: parse<br>&nbsp;&nbsp; error before `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27: 
error: `<br>&nbsp;&nbsp; int&#39; 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&#39; 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;&#39; used as a 
declarator<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:27: 
error: parse<br>&nbsp;&nbsp; error before `;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
error: `<br>&nbsp;&nbsp; ImageType&#39; was not declared in this 
scope<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
error: `<br>&nbsp;&nbsp; int&#39; 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&#39; 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;&#39; used as a 
declarator<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:29: 
error: parse<br>&nbsp;&nbsp; error before `;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:32: 
error: `<br>&nbsp;&nbsp; ImageType&#39; was not declared in this 
scope<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33: 
error: `<br>&nbsp;&nbsp; VisualizationImageType&#39; was not declared in this 
scope<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:33: 
error: `<br>&nbsp;&nbsp; int&#39; 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&#39; 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;&#39; 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 `;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
error: `<br>&nbsp;&nbsp; VisualizationImageType&#39; was not declared in this 
scope<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
error: `<br>&nbsp;&nbsp; int&#39; 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&#39; 
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;&#39; used as a 
declarator<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:36: 
error: parse<br>&nbsp;&nbsp; error before `;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:39: 
error: `<br>&nbsp;&nbsp; int&#39; 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&#39; 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;&#39; 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 `;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:57: 
error: syntax<br>&nbsp;&nbsp; error before `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:59: 
error: syntax<br>&nbsp;&nbsp; error before `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:61: 
error: syntax<br>&nbsp;&nbsp; error before `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.h:63: 
error: syntax<br>&nbsp;&nbsp; error before `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx: 
In<br>&nbsp;&nbsp; constructor `<br>&nbsp;&nbsp; 
CellularSegmentationApplicationBase::CellularSegmentationApplicationBase()&#39;:<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:10: 
error: `<br>&nbsp;&nbsp; m_ImageReader&#39; 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&#39; 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 `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12: 
error: `<br>&nbsp;&nbsp; m_RescaleIntensity&#39; undeclared (first use this 
function)<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:12: 
error: `<br>&nbsp;&nbsp; RescaleIntensityFilterType&#39; 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 `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14: 
error: `<br>&nbsp;&nbsp; m_ITK2VTKAdaptor&#39; undeclared (first use this 
function)<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:14: 
error: `<br>&nbsp;&nbsp; ITK2VTKAdaptorFilterType&#39; 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 `::&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
error: `<br>&nbsp;&nbsp; int&#39; 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;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
error: `::<br>&nbsp;&nbsp; max&#39; undeclared (first use 
here)<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:16: 
error: parse<br>&nbsp;&nbsp; error before `)&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
error: `<br>&nbsp;&nbsp; int&#39; 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;&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
error: `::<br>&nbsp;&nbsp; min&#39; undeclared (first use 
here)<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:17: 
error: parse<br>&nbsp;&nbsp; error before `)&#39; 
token<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19: 
error: `<br>&nbsp;&nbsp; m_IterationObserver&#39; undeclared (first use this 
function)<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:19: 
error: `<br>&nbsp;&nbsp; IterationObserverType&#39; 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 `::&#39; 
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()&#39;:<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:54: 
error: `<br>&nbsp;&nbsp; cout&#39; undeclared in namespace 
`std&#39;<br>/home/caraujo/downloads/ITK/InsightApplications-3.2.0/CellularSegmentation/CellularSegmentationApplicationBase.cxx:54: 
error: `<br>&nbsp;&nbsp; endl&#39; undeclared in namespace `std&#39;<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>&nbsp;</font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font>&nbsp;</font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font>&nbsp;</font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font>&nbsp;</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>