Hi, thanks for answering. I don't understand very well your explanation, sorry. I attach a printed screen of my CMake.<br>1)With "configure the itk source then build it. build itk out of<br>
source." do you mean having two different folders: one for the CMakeLists.txt and other for the building, as I have?<br><br>2)How can I enable the examples at the cmake-gui stage?<br><br>Thank you very much.<br>Marcos<br>
<br><br><div class="gmail_quote">2010/11/9 John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Nov 9, 2010 at 8:19 AM, Marcos Belmonte <<a href="mailto:marcosbelm@gmail.com">marcosbelm@gmail.com</a>> wrote:<br>
> Hi, I'm Marcos Belmonte, from Spain. I have downloaded the examples for the<br>
> book "The ITK Software Guide" Second edition and I have errors. The steps I<br>
> follow it's:<br>
><br>
> 1)opening Cmake from cygwin, and put the directory of<br>
> DataRepresenting/Image, for example and I create a folder for the building.<br>
> 2)pressing configure and generate<br>
> 3)I use visual C++ so then I go to the build folder and execute the VC++<br>
> project, but I have a lot of C1083 errors such as \RGBImage.cxx(21) : fatal<br>
> error C1083: No se puede abrir el archivo incluir: 'itkImage.h': No such<br>
> file or directory<br>
> It's true that in the directory when there are the files .cxx there aren't<br>
> .h files, but I thought they are found with CMakeLists.txt<br>
><br>
> What can I do for solving the problem?<br>
<br>
</div></div>I would download the windows version of cmake-2.8.3. And use that to<br>
configure the itk source then build it. Remember to build itk out of<br>
source.<br>
<br>
<a href="http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees</a><br>
<br>
Also if you enable the examples at the cmake-gui stage they should not<br>
have these header file not found errors...<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br>