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

Sara Rolfe smrolfe at u.washington.edu
Fri Mar 30 14:01:28 EDT 2012


Thanks for your help.  I needed to do the same for my VTK libraries  
too, and now I can compile without errors.

On Mar 30, 2012, at 10:21 AM, Bill Lorensen wrote:

> It includes all required ITK libraries.
>
> On Fri, Mar 30, 2012 at 10:10 AM, Sara Rolfe  
> <smrolfe at u.washington.edu> wrote:
>> Thanks for your reply.  What is included in ${ITK_LIBRARIES}?  Will  
>> this
>> replace ITKIO and the other ITK libraries I link to?
>>
>> Thanks,
>> Sara
>>
>>
>> On Mar 30, 2012, at 10:02 AM, Bill Lorensen wrote:
>>
>>> 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
>>
>>
>
>
>
> -- 
> Unpaid intern in BillsBasement at noware dot com



More information about the Insight-users mailing list