[Insight-users] starting with ITK registration

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 23 15:52:05 EDT 2010


Hi Stephen,


                Welcome to ITK !


1) You don't need to copy library files from
    ITK into your project.


2) Most likely the problem is that you build
    ITK for Debug and then you build your
    application for Release (or the other way
    around).

    Please make sure that you build all the
    libraries and the application with the exact
    same compilation mode (Release / Debug).


3) You may find useful to follow the Tutorials

      http://www.itk.org/ITK/help/tutorials.html

     In particular:

http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf



   Regards,



         Luis


-------------------------------------------------------------
On Mon, Mar 22, 2010 at 4:43 PM, Stephen Yip <stephen.fyip1 at gmail.com> wrote:
> Hi,
>
> I am new user of ITK. I made a CMakefile by following the instruction. I
> successfully configured and generated a registration.dsw file. When I tried
> to build a exe file, the following error occurs
>
> ........."registration.cxx
> Linking...
> LINK : fatal error LNK1181: cannot open input file "ITKAlgorithms.lib"
> Error executing link.exe.
> registration.exe - 1 error(s), 0 warning(s)....."
>
> I then copied the ITKAlgorithms.lib to folder where i put the
> registration.cxx and CMakeList.txt; the problem seemed to be solved.
> However, it then asked for another .lib file.
> Anyone is aware of the problem and know how I may fix it?
>
> Thank you,
> Stephen
>
>
> _____________________________________
> 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
>
>


More information about the Insight-users mailing list