<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- Ella Maria Kadas <i>&lt;ella_kadas@yahoo.com&gt;</i> schrieb am <b>Mo, 21.2.2011:<br></b><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b><br>Von: Ella Maria Kadas &lt;ella_kadas@yahoo.com&gt;<br>Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008<br>An: "John Drescher" &lt;drescherjm@gmail.com&gt;<br>Datum: Montag, 21. Februar, 2011 23:36 Uhr<br><br></b><div id="yiv1664646612"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi,<br>ITK_DIR is pointing to the root where i build ITK.<br>But thank u,<br>Ella<br><br>--- John Drescher <i>&lt;drescherjm@gmail.com&gt;</i> schrieb am <b>Mo, 21.2.2011:<br></b><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b><br>Von: John
 Drescher &lt;drescherjm@gmail.com&gt;<br>Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008<br>An: "Ella Maria Kadas" &lt;ella_kadas@yahoo.com&gt;<br>CC: insight-users@itk.org<br>Datum: Montag, 21. Februar, 2011 23:31 Uhr<br><br></b><div class="yiv1664646612plainMail"><b>On Mon, Feb 21, 2011 at 4:28 PM, Ella Maria Kadas &lt;<a rel="nofollow">ella_kadas@yahoo.com</a>&gt; wrote:<br>&gt;<br>&gt; Hi all,<br>&gt;<br>&gt; &nbsp;&nbsp; I succesfully configured Insight-Toolkit 3.20.0 using Cmake
 2.8.3, and also build without errors ITK.sln with Visual studio 9 2008.<br>&gt; &nbsp;&nbsp; I also created an emty project in Visual studio and in the projects directory created the CMakeLists.txt for the HelloWorld example just like in the ITKuserguide.<br>&gt; &nbsp;&nbsp; I configured with Cmake the project using as source and build binary location my projects location. also without errors. But Cmake never asks for the Binary folder where i built InsightTollkit. Still i tried to compile the HelloWorld example and i got this.<br>&gt; \ella\my documents\visual studio 2008\projects\test4\test4\helloworld.cpp(1) : fatal error C1083: Cannot open include file: 'itkImage.h': No such file or directory<br>&gt; I looked in the advanced view in Cmake and noticed that at CMAKE_LINKER there is<br>&gt; CMAKE_LINKER-NOTFOUND. Does this has anything to do with my problem.<br>&gt; It is the second time i make all the steps from the userguide and no luck.<br>&gt; I
 must be missing something essential but i can;t figure it out.<br>&gt; Any help will be very welcomed as i am getting a bit crazy with the errors i already have using Xcode at work on mac<br><br>For your demo project, you need to set ITK_DIR in cmake-gui to point<br>to the root folder where you built itk.<br><br>John<br></b></div></blockquote></td></tr></tbody></table><b><br></b></div></blockquote></td></tr></table><br>