<div dir="ltr">VTK_DIR should be set to the build directory <span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">D:/VTK6.0.0/Build</span><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 21, 2013 at 8:48 AM, Insatiable Insatiable <span dir="ltr"><<a href="mailto:insatiable03@gmail.com" target="_blank">insatiable03@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I am using Windows 8 x64, Visual Studio Ultimate 2012, cmake 2.8.11.1. </div><div><br></div><div>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 </div>
<div>"========== Build: 460 succeeded, 276 failed, 0 up-to-date, 0 skipped ==========". </div><div>If i scroll up, i find the following error countless times </div><div>"LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\ITKVtkGlue-4.4.lib'". </div>
<div><br></div><div>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.</div>
<div><br></div><div>How i built VTK:<br></div><div>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</div>
<div>1. VTK_DIR = D:\VTK6.0.0</div><div>2. I have added "%VTK_DIR%\Build\bin\Release" to system PATH variable</div><div><br></div><div>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.</div>
</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>