<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello folks, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have built a project with ITK4.7 and Visual Studio 2013. Everything went fine with no problem. However I wanted to test my program using ITK3.20.2 and Visual Studio 2008. I get the following error:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>fatal error LNK1104: cannot open file 'ITKIOReview.lib'<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">I have this library when I built my ITK4.7 however I don’t see it when I try to build ITK3.20.2. Please note that I have built the ITK3.20.2 with ITK_USE_Review to be ON! As well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is the CMakelists I have used for both ITK environments:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">cmake_minimum_required(VERSION 2.8)<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">project(CropVolumeMain)<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">find_package(ITK REQUIRED)<o:p></o:p></p>
<p class="MsoNormal">include(${ITK_USE_FILE})<o:p></o:p></p>
<p class="MsoNormal">if (ITKVtkGlue_LOADED)<o:p></o:p></p>
<p class="MsoNormal"> find_package(VTK REQUIRED)<o:p></o:p></p>
<p class="MsoNormal"> include(${VTK_USE_FILE})<o:p></o:p></p>
<p class="MsoNormal">endif()<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">add_executable(CropVolumeMain MACOSX_BUNDLE CropVolumeMain.cxx)<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">if( "${ITK_VERSION_MAJOR}" LESS 4 )<o:p></o:p></p>
<p class="MsoNormal"> target_link_libraries(CropVolumeMain ITKReview ${ITK_LIBRARIES})<o:p></o:p></p>
<p class="MsoNormal">else( "${ITK_VERSION_MAJOR}" LESS 4 )<o:p></o:p></p>
<p class="MsoNormal"> target_link_libraries(CropVolumeMain ${ITK_LIBRARIES})<o:p></o:p></p>
<p class="MsoNormal">endif( "${ITK_VERSION_MAJOR}" LESS 4 )<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help is much appreciated!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Amir<o:p></o:p></p>
</div>
<p class="MsoNormal"><b><i><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black">This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health
information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom
it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies.</span></i></b><span style="font-size:10.5pt;
font-family:"Calibri","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</body>
</html>