<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- Ella Maria Kadas <i><ella_kadas@yahoo.com></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 <ella_kadas@yahoo.com><br>Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008<br>An: "John Drescher" <drescherjm@gmail.com><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><drescherjm@gmail.com></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 <drescherjm@gmail.com><br>Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008<br>An: "Ella Maria Kadas" <ella_kadas@yahoo.com><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 <<a rel="nofollow">ella_kadas@yahoo.com</a>> wrote:<br>><br>> Hi all,<br>><br>> 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>> 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>> 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>> \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>> I looked in the advanced view in Cmake and noticed that at CMAKE_LINKER there is<br>> CMAKE_LINKER-NOTFOUND. Does this has anything to do with my problem.<br>> It is the second time i make all the steps from the userguide and no luck.<br>> I
must be missing something essential but i can;t figure it out.<br>> 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>