<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Gib,<br> No, i have selected the Debug build. But i did build ITK with Release Build the second time i 've built it. Is that the problem?<br><br>--- Gib Bogle <i><g.bogle@auckland.ac.nz></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: Gib Bogle <g.bogle@auckland.ac.nz><br>Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008<br>An: insight-users@itk.org<br>Datum: Dienstag, 22. Februar, 2011 07:35 Uhr<br><br></b><div class="plainMail"><b>Hi Ella,<br><br>Are you selecting the Release build (for ALL_BUILD) in MSVS? By default it <br>assumes the Debug build.<br><br>Cheers<br>Gib<br><br>On 22/02/2011 6:04 p.m., Ella Maria Kadas wrote:<br>> Hi Luis,<br>><br>> Tried it again, this time letting Cmake
to create the Visual Studio project, but<br>> 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 /<<a ymailto="mailto:luis.ibanez@kitware.com" href="/mc/compose?to=luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>>/ schrieb am *Di, 22.2.2011:<br>> *<br>><br>> *<br>> Von: Luis Ibanez <<a ymailto="mailto:luis.ibanez@kitware.com" href="/mc/compose?to=luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>> Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008<br>> An: "Ella Maria Kadas" <<a ymailto="mailto:ella_kadas@yahoo.com" href="/mc/compose?to=ella_kadas@yahoo.com">ella_kadas@yahoo.com</a>><br>> CC: <a
ymailto="mailto:insight-users@itk.org" href="/mc/compose?to=insight-users@itk.org">insight-users@itk.org</a><br>> Datum: Dienstag, 22. Februar, 2011 02:00 Uhr<br>><br>> *<br>> *<br>> Hi Ella<br>><br>> *<br>> *On Mon, Feb 21, 2011 at 4:28 PM, Ella Maria Kadas <<a ymailto="mailto:ella_kadas@yahoo.com" href="/mc/compose?to=ella_kadas@yahoo.com">ella_kadas@yahoo.com</a><br>> </mc/compose?to=<a ymailto="mailto:ella_kadas@yahoo.com" href="/mc/compose?to=ella_kadas@yahoo.com">ella_kadas@yahoo.com</a>>> wrote:<br>> *<br>><br>> Hi all,<br>><br>> I succesfully configured Insight-Toolkit 3.20.0 using Cmake 2.8.3, and<br>>
also build without errors ITK.sln with Visual studio 9 2008.<br>><br>> *<br>><br>><br>> This is the problem:<br>><br>> *<br>><br>> I also created an emty project in Visual studio and in the projects<br>> directory created the CMakeLists.txt for the HelloWorld example just<br>> like in the ITKuserguide.<br>><br>> *<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<br>> 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>> *<br>><br>> I configured with Cmake the project using as source and build binary<br>> location my projects location. also without errors. But Cmake never asks<br>> for the Binary folder where i built InsightTollkit. Still i tried
to<br>> compile the HelloWorld example and i got this.<br>> \ella\my documents\visual studio<br>> 2008\projects\test4\test4\helloworld.cpp(1) : fatal error C1083: Cannot<br>> 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<br>> 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<br>> errors i already have using Xcode at work on mac<br>> Cheers,<br>> Ella<br>><br>> *<br>><br>> _____________________________________<br>> Powered by www.kitware.com <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Kitware offers ITK Training Courses, for more information
visit:<br>> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>><br>> Please keep messages on-topic and check the ITK FAQ at:<br>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br>> *<br>><br>> *<br>> *<br>><br>><br>><br>><br>> _____________________________________<br>> Powered by www.kitware.com<br>><br>>
Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Kitware offers ITK Training Courses, for more information visit:<br>> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>><br>> Please keep messages on-topic and check the ITK FAQ at:<br>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br></b></div></blockquote></td></tr></table><br>