<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Tue, Mar 1, 2011 at 9:49 PM, michael ma <span dir="ltr"><<a href="mailto:michael8446@126.com">michael8446@126.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Dear all,</div>
<div> </div>
<div>when i built image1.cxx,i always have a Error,</div>
<div> </div>
<div>fatal error C1083: Cannot open include file: 'itkImageBase.h': No such file ordirectory Error executing cl.exe.</div>
<div> </div>
<div>i find 'itkImageBase.h',and put it in the directory, another Error comes,</div>
<div> </div>
<div>Cannot open include file: 'itkImageRegion.h': No such file ordirectory Error executing cl.exe.</div>
<div> </div>
<div>what should i do? what is the problem?</div>
<div> </div>
<div>thanks in advance!</div>
<div> </div>
<div>best regards,</div>
<div>michael</div></blockquote><div><br></div><div>My guess is that you are not using CMake. You should never need to copy any headers into your directory. See any of the Wiki Examples (like this one:</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.itk.org/Wiki/ITK/Examples/SimpleOperations/RegionIntersection">http://www.itk.org/Wiki/ITK/Examples/SimpleOperations/RegionIntersection</a> ) for a basic CMakeLists.txt file. Here are instructions on how to build an example using CMake: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.itk.org/Wiki/ITK/Examples/Instructions/ForUsers">http://www.itk.org/Wiki/ITK/Examples/Instructions/ForUsers</a><br clear="all">
<br></div><div class="gmail_quote">Good luck,</div><div class="gmail_quote"><br><div>David </div></div>