[Insight-users] can't compile HelloWorld with Visual Studio 9 2008
Ella Maria Kadas
ella_kadas at yahoo.com
Tue Feb 22 02:13:37 EST 2011
Hi Gib,
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?
--- Gib Bogle <g.bogle at auckland.ac.nz> schrieb am Di, 22.2.2011:
Von: Gib Bogle <g.bogle at auckland.ac.nz>
Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008
An: insight-users at itk.org
Datum: Dienstag, 22. Februar, 2011 07:35 Uhr
Hi Ella,
Are you selecting the Release build (for ALL_BUILD) in MSVS? By default it
assumes the Debug build.
Cheers
Gib
On 22/02/2011 6:04 p.m., Ella Maria Kadas wrote:
> Hi Luis,
>
> 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.
> I am sorry to bother u with this kind of problems over and over again:),
> Cheers,
> Ella
>
> --- Luis Ibanez /<luis.ibanez at kitware.com>/ schrieb am *Di, 22.2.2011:
> *
>
> *
> Von: Luis Ibanez <luis.ibanez at kitware.com>
> Betreff: Re: [Insight-users] can't compile HelloWorld with Visual Studio 9 2008
> An: "Ella Maria Kadas" <ella_kadas at yahoo.com>
> CC: insight-users at itk.org
> Datum: Dienstag, 22. Februar, 2011 02:00 Uhr
>
> *
> *
> Hi Ella
>
> *
> *On Mon, Feb 21, 2011 at 4:28 PM, Ella Maria Kadas <ella_kadas at yahoo.com
> </mc/compose?to=ella_kadas at yahoo.com>> wrote:
> *
>
> Hi all,
>
> 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.
>
> *
>
>
> This is the problem:
>
> *
>
> 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.
>
> *
>
>
> You shouldn't create an empty directory from Visual Studio.
>
> Instead, you should simply create a CMakeLists.txt file for your HelloWorld
> example
> (e.g. you can copy the one in ITK/Examples/Installation)
>
> and then run CMake.
>
> CMake will generate your Visual Studio project.
>
> No need to create the project from Visual Studio,
> You may have just generated conflicting files by
> mixing a CMake configuration on top of a project
> created from Visual Studio.
>
>
> Luis
>
>
> ============================
> *
>
> 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.
> \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
> I looked in the advanced view in Cmake and noticed that at CMAKE_LINKER
> there is
> CMAKE_LINKER-NOTFOUND. Does this has anything to do with my problem.
> It is the second time i make all the steps from the userguide and no luck.
> I must be missing something essential but i can;t figure it out.
> 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
> Cheers,
> Ella
>
> *
>
> _____________________________________
> Powered by www.kitware.com <http://www.kitware.com>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
> *
>
> *
> *
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110222/7c2e096c/attachment.htm>
More information about the Insight-users
mailing list