<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Luis,<br><br> Tried it again, this time letting Cmake to create the Visual Studio project, but it still can't find the ITKCommon.lib. I send u my Debug file.<br> I am sorry to bother u with this kind of problems over and over again:),<br>Cheers,<br> Ella<br><br>--- Luis Ibanez <i><luis.ibanez@kitware.com></i> schrieb am <b>Di, 22.2.2011:<br></b><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b><br>Von: Luis Ibanez <luis.ibanez@kitware.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: Dienstag, 22. Februar, 2011 02:00 Uhr<br><br></b><div id="yiv1183190686"><b><br>Hi Ella<br><br></b><div class="yiv1183190686gmail_quote"><b>On Mon, Feb 21,
2011 at 4:28 PM, Ella Maria Kadas <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ella_kadas@yahoo.com" target="_blank" href="/mc/compose?to=ella_kadas@yahoo.com">ella_kadas@yahoo.com</a>></span> wrote:<br></b><blockquote class="yiv1183190686gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">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></td></tr></tbody></table></blockquote><div><b><br><br><br>This is the problem:<br><br> </b></div><blockquote class="yiv1183190686gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"> 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></td></tr></tbody></table></blockquote><div><b><br><br><br>You shouldn't create an empty directory from Visual Studio.<br><br>Instead, you should simply create a CMakeLists.txt file for your HelloWorld example <br>
(e.g. you can copy the one in ITK/Examples/Installation)<br><br>and then run CMake.<br><br>CMake will generate your Visual Studio project.<br><br>No need to create the project from Visual Studio,<br>You may have just generated conflicting files by<br>
mixing a CMake configuration on top of a project<br>created from Visual Studio.<br><br><br> Luis<br><br><br>============================<br> </b></div><blockquote class="yiv1183190686gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"> 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><span style="font-weight: bold;">\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</span><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>Cheers,<br>Ella</td></tr></tbody></table><b><br><br>_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></b></blockquote></div><b><br>
</b></div></blockquote></td></tr></table><br>