I am trying to build and run the example surface extraction example originally located in Examples/Filtering/SurfaceExtra<div id="mb_0">ction.cxx.&nbsp;&nbsp;
I made a copy of the entire Filtering folder outside of the Insight
directory, successfully ran ccmake, and tried to build the examples in
that folder using gmake.&nbsp; <br><br>I got a lot of error messages, but believe that they all originate from the following errors:<br>/ITK/InsightToolkit-3.2.0/Examples/Filtering/AntiAliasBinaryImageFilter.cxx:38:32: itkImageFileReader.h
: No such file or directory
<br>/ITK/InsightToolkit-3.2.0/Examples/Filtering/AntiAliasBinaryImageFilter.cxx:39:32: itkImageFileWriter.h: No such file or directory<br>/ITK/InsightToolkit-3.2.0/Examples/Filtering/AntiAliasBinaryImageFilter.cxx:40:32: 
itkCastImageFilter.h: No such file or directory<br>/ITK/InsightToolkit-3.2.0/Examples/Filtering/AntiAliasBinaryImageFilter.cxx:41:44: itkRescaleIntensityImageFilter.h: No such file or directory<br>/ITK/InsightToolkit-3.2.0

/Examples/Filtering/AntiAliasBinaryImageFilter.cxx:54:43: itkAntiAliasBinaryImageFilter.h: No such file or directory<br><br>I am only using the pre-made examples files, although I did add the code:<br>
#<br>
# FIND ITK, TAKEN FROM <a href="http://www.itk.org/pipermail/insight-users/2003-July/004278.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.itk.org/pipermail/insight-users/2003-July/004278.html
</a> ON 3-30-07<br>
#<br>
FIND_PACKAGE(ITK)<br>
IF (USE_ITK_FILE)<br>
&nbsp; INCLUDE (${USE_ITK_FILE})<br>
ELSE (USE_ITK_FILE)<br>
&nbsp; MESSAGE( FATAL_ERROR &quot;This application requires ITK. One of these<br>
components is missing. Please verify configuration&quot;)<br>
ENDIF (USE_ITK_FILE)<br>
<br>after INCLUDE_REGULAR_EXPRESSION(&quot;^.*$&quot;) in the file CMakeLists.txt.<br><br><br>What
am I doing wrong to get these errors?&nbsp; I was able to successfully build
and run other examples, including the examples in
DataRepresentation/Image.
<br><br>Thank you,<br><span class="sg">Catherine<br></span></div>