[Insight-users] Fwd: ITK First Example

Luis Ibanez luis.ibanez at kitware.com
Sun Aug 9 15:18:30 EDT 2009


---------- Forwarded message ----------
From: Luis Ibanez <luis.ibanez at kitware.com>
Date: Sun, Aug 9, 2009 at 3:18 PM
Subject: Re: [Insight-users] ITK First Example
To: ankit master <ankit.master at gmail.com>



Hi Ankit,


                 It looks like you have not build ITK itself.


When you download ITK, what you get are the source code files of the
toolkit.
You are supposed to compile the libraries before you can use them from
any external project.

You will find instructions on how to build ITK in the Tutorials:
http://www.itk.org/ITK/help/tutorials.html

in particular in
http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img14.html

you should follow this step-by-step instructions until you get to
verify that the libraries are in your disk, as shown in:
http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img26.html


You will also find build instructions in the ITK Software Guide

        http://www.itk.org/ItkSoftwareGuide.pdf


Regards,


      Luis


--------------------------------------------------------------------------------------

On Sun, Aug 9, 2009 at 3:01 PM, ankit master <ankit.master at gmail.com> wrote:

> Hello Luis,
>
> Thank you very much for replying.
> 1) I am using the CMakeLists.txt that comes with the
> Insight/Examples/Installation example.
> 2) However, I couldnt find any ITKCommon.lib file in the ITKBIN/bin/Debug.
> As a matter of fact I *dont* get to see any /bin directory under the
> folder ITKBIN (which is the where I have the Binary files stored for ITK,
> after running CMake of the ITK-insight folder ).
> 3) Name of the ITK binary directory where I have built ITK is ITKBIN.
>
> What should I be doing under this circumstance. I have already tried
> rebuilding, re-downloading the ITK package several times now to see if the
> ITKBIN/bin  appears, but no luck so far. Kindly advice.
>
> Thank you again
> Sincerely,
>
> On Sun, Aug 9, 2009 at 10:39 AM, Luis Ibanez <luis.ibanez at kitware.com>wrote:
>
>> Hi Ankit,
>>
>>
>> Thanks for your detailed post.
>>
>>
>>    - Are you using the CMakeLists.txt that comes with
>>    the Insight/Examples/Installation   example ?
>>    - Have you verified that the ITKCommon.lib file is
>>    indeed in the directory
>>    ITKBIN/bin/Debug/    ?
>>    - What is the name of the binary directory where you
>>    built ITK ?
>>
>>
>> Please let us know,
>>
>>        Luis
>>
>>
>> --------------------------------------------------------
>> On Sun, Aug 9, 2009 at 1:10 AM, avmaster <ankit.master at gmail.com> wrote:
>>
>>>
>>> Hello,
>>>
>>> I am a newbie to ITK and have a tough time trying to run the first
>>> example
>>> of Hello World. I have followed several of the previous discussions on
>>> the
>>> same issue and have tried to follow most of the suggestions that were
>>> given
>>> in the previous post of others, yet I am somehow not able to get my thing
>>> to
>>> run .. !!
>>>
>>>  so this is my issue, when I try to run the first program of hello world
>>> i
>>> end up getting this error.  I have made sure that ITK and this particular
>>> example are both compiled in "debug" configuration. I also happened to
>>> read
>>> something on ITK Lib in the previous post but did not quite understand on
>>> how to go about finding ITK Lib and under what folder should it be?
>>>
>>> 1>LINK : fatal error LNK1104: cannot open file 'ITKCommon.lib'
>>> 1>Build log was saved at
>>> "file://d:\pracITK\HelloWorld.dir\Debug\BuildLog.htm"
>>> 1>HelloWorld - 1 error(s), 0 warning(s)
>>> 2>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32
>>> ------
>>> 2>Project not selected to build for this solution configuration
>>> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped
>>> ==========
>>>
>>>
>>> Any help will be greatly appreciate.
>>>
>>> Thank you in advance
>>>
>>> Sincerely,
>>> Ankit Master
>>> --
>>> View this message in context:
>>> http://www.nabble.com/ITK-First-Example-tp24884364p24884364.html
>>> Sent from the ITK - Users mailing list archive at Nabble.com.
>>>
>>> _____________________________________
>>> 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
>>>
>>
>>
>
>
> --
> Ankit V Master
>
> Ring the bells that still can ring
> Forget your perfect offering
> There is a crack, a crack in everything
> That’s how the light gets in.
> –Leonard Cohen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090809/983950ea/attachment.htm>


More information about the Insight-users mailing list