[Insight-users] First time with ITK

Reda, Fitsum A fitecx at gmail.com
Tue Sep 29 11:36:26 EDT 2009


Thanks for the help and tips. I did manage to get ITK up and running. The
problems were:1. ITK was saved in a longer tree directory. Making it to, for
instance, C:/ITK 3.0....
2. Building ITK in debug and HellWorld in release. I built both on Debug, It
all worked fine now.

Best,
Fitsum

On Tue, Sep 29, 2009 at 4:05 PM, Dan Mueller <dan.muel at gmail.com> wrote:

> Hi Fitsum,
>
>   Welcome to ITK!
>
> The error message you report suggests the compiler can not find the
> location where ITK has been built. There can be a number of common
> reasons for this:
>
> 1. ITK has not been configured and built correctly.
> 2. When configuring your project ("HelloWorld" in this case) you did
> not correctly specify the ITK_DIR Cmake variable.
> 3. You are trying to build your project in a different mode than you
> built ITK (for example you compiled ITK in Release mode, but are
> trying to build your project in Debug mode) -- you must build *both*
> ITK and your project in the same mode.
>
> The following references may be of interest:
>
>    http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf
>    http://www.itk.org/ITK/help/help.html
>
> Further, I suggest you study the ITK Software Guide. From personal
> experience, spending 1+ weeks now will save you countless frustration
> in the future.
>
>    http://www.itk.org/ItkSoftwareGuide.pdf
>
> Hope this helps.
>
> Regards, Dan
>
>
> 2009/9/29 Reda, Fitsum A <fitecx at gmail.com>:
> > Hi all,
> > I just starting my PhD in medical image analysis. For the past few days I
> > was trying to get started with installing and building ITK.
> > However, I keep, getting the "Link: fatal error can't find
> ITKCommon.lib",
> > when i try to compile and build the "HelloWorld" project.
> > I would be very grateful if you could help me on this. I am using a
> Windows
> > Vista platform, Microsoft Visual Studio 8 Express.
> > Best,
> > Fitsum
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.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/20090929/34981cf7/attachment-0001.htm>


More information about the Insight-users mailing list