[Insight-users] Error Building ITK4.4.0 (ITKVtkGlue)

Bill Lorensen bill.lorensen at gmail.com
Sun Jul 21 10:52:10 EDT 2013


Also, are you sure you build VTK Release?



On Sun, Jul 21, 2013 at 10:51 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> VTK_DIR should be set to the build directory D:/VTK6.0.0/Build
>
>
>
> On Sun, Jul 21, 2013 at 8:48 AM, Insatiable Insatiable <
> insatiable03 at gmail.com> wrote:
>
>> I am using Windows 8 x64, Visual Studio Ultimate 2012, cmake 2.8.11.1.
>>
>> I am trying to build ITK 4.4.0 (with Module_ITKVtkGlue and Fetch_SCIFIO
>> set to "ON"). All other options are unchanged. I extract ITK files to
>> "D:\InsightToolkit-4.4.0" and set the build folder to
>> "D:\InsightToolkit-4.4.0\Build". Then i use cmake to generate the solution
>> files without any problem. Then i open solution file in Visual Studio,
>> change configuration to "Release" and select the "ALL_BUILD" project and
>> select "Build". After an hour or so, it shows
>> "========== Build: 460 succeeded, 276 failed, 0 up-to-date, 0 skipped
>> ==========".
>> If i scroll up, i find the following error countless times
>> "LINK : fatal error LNK1181: cannot open input file
>> '..\..\lib\Release\ITKVtkGlue-4.4.lib'".
>>
>> There is no "ITKVtkGlue-4.4.lib" in
>> "P:\InsightToolkit-4.4.0\Build\lib\Release". I can not figure out why it is
>> not being built, if anyone has any clue what might be causing this issue or
>> how to resolve it that would be great.
>>
>> How i built VTK:
>> I extracted VTK source files to "D:/VTK6.0.0" and set its build folder to
>> "D:/VTK6.0.0/Build" and built it without any problem. I have set the
>> following path variables
>> 1. VTK_DIR = D:\VTK6.0.0
>> 2. I have added "%VTK_DIR%\Build\bin\Release" to system PATH variable
>>
>> I am using Fetch_SCIFIO because i need to read ".ome.tiff" and ".czi"
>> files and ITKVtkGlue so that i can view the images once they are read.
>>
>> _____________________________________
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130721/ed7919cf/attachment.htm>


More information about the Insight-users mailing list