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="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> </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 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> </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>