[Insight-users] fatal error LNK1181: cannot open input file 'ITKIO.lib'

Bill Lorensen bill.lorensen at gmail.com
Fri Mar 30 13:02:22 EDT 2012


In ITKv4 you must use ${ITK_LIBRARIES} in your target_link_libraries.
There are many more libraries and some old ones are gone.

BTW, ${ITK_LINK_LIBRARIES} also works with older version of ITK.

On Fri, Mar 30, 2012 at 9:55 AM, Sara Rolfe <smrolfe at u.washington.edu> wrote:
> Also - I did a search for ITKIO.lib, and I cannot find it either.  It looks
> like the other libraries built.  Is there a reason why this might be
> missing?
>
> Thanks,
> Sara
>
>
> On Mar 30, 2012, at 9:46 AM, Sara Rolfe wrote:
>
>> Hello,
>>
>> I installed ITK and VTK on a 64-bit Windows machine.  ITK built with no
>> errors.  Now, when I try to build my program, I get the following error:
>> fatal error LNK1181: cannot open input file 'ITKIO.lib'
>>
>> I have tried recompiling both ITK and my program in release instead of
>> debug.  I'd appreciate any suggestions.
>>
>> Thanks,
>> Sara
>
>
> _____________________________________
> 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.php
>
> 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



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list