<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=utf-8">
<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;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi; <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for your reply. I’m pretty new to this. At first I build ITK with Module_RTK ON in Release mode. I now build it in Debug mode using the following line in the command prompt:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal"><b>cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DModule_RTK:BOOL=ON -S"D:\Program files\InsightToolkit-5.1.1" -B"D:\Program files\InsightToolkit-5.1.1\Build"<o:p></o:p></b></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">During the build of FirstReconstruction I now get the same error, but a different file cannot be opened:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">----<o:p></o:p></p>
<p class="MsoNormal"><b>cmake -S"D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction" -B"D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/Build"<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake --build .<o:p></o:p></b></p>
<p class="MsoNormal">Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework<o:p></o:p></p>
<p class="MsoNormal">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Checking Build System<o:p></o:p></p>
<p class="MsoNormal"> Building Custom Rule D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists<o:p></o:p></p>
<p class="MsoNormal"> .txt<o:p></o:p></p>
<p class="MsoNormal"> FirstReconstruction.cxx<o:p></o:p></p>
<p class="MsoNormal">LINK : fatal error LNK1104: cannot open file 'RTK.lib' [D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\exampl<o:p></o:p></p>
<p class="MsoNormal">es\FirstReconstruction\Build\FirstReconstruction.vcxproj]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">----<o:p></o:p></p>
<p class="MsoNormal">Do you know what I’m doing wrong?<o:p></o:p></p>
<p class="MsoNormal"><br>
Margot<o:p></o:p></p>
<p class="MsoNormal"><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="NL"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Simon Rit <simon.rit@creatis.insa-lyon.fr>
<br>
<b>Sent:</b> maandag 30 november 2020 23:09<br>
<b>To:</b> Bleeker, M. (Margot) <m.bleeker@amsterdamumc.nl><br>
<b>Cc:</b> rtk-users@public.kitware.com<br>
<b>Subject:</b> Re: [Rtk-users] Building First Reconstruction<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Can you confirm that you have built ITK with Module_RTK ON also in Debug mode? See
<a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSimonRit%2FRTK%2Fblob%2Fmaster%2FINSTALLATION.md&data=04%7C01%7Cm.bleeker%40amsterdamumc.nl%7C3165fe4e89b9415f102c08d8957c635b%7C68dfab1a11bb4cc6beb528d756984fb6%7C0%7C0%7C637423708767581185%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BrH1KF8BDnqEqAupE%2B6tLQ0goBz2CxSBWRddoaKrkd4%3D&reserved=0">
https://github.com/SimonRit/RTK/blob/master/INSTALLATION.md</a> for some instructions.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Nov 27, 2020 at 3:10 PM Bleeker, M. (Margot) <<a href="mailto:m.bleeker@amsterdamumc.nl">m.bleeker@amsterdamumc.nl</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello,
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I am now trying to use RTK via Cmake/C++ (to which I am not familiar with). I am using Windows 10 and compiled using Visual Studio 16 2019 and use ITK 5.1.1. During building of
FirstReconstruction I get the error:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">----<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake --build .<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> Checking Build System<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> Building Custom Rule D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> .txt<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> FirstReconstruction.cxx<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">LINK : fatal error LNK1104: cannot open file 'D:\Program files\InsightToolkit-5.1.1\Build\lib\Debug\itkRTK-5.1.lib' [D:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build\FirstReconstruction.vcxproj]<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">------<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Does anyone know how I can solve this issue?
<br>
<br>
Many thanks in advance!<br>
<br>
Kind regards, <br>
Margot<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:7.0pt;font-family:"Trebuchet MS",sans-serif;color:black">______________________________________________________<br>
VUmc disclaimer : <a href="http://www.vumc.nl/disclaimer" target="_blank">www.vumc.nl/disclaimer</a><br>
AMC disclaimer : <a href="http://www.amc.nl/disclaimer" target="_blank">www.amc.nl/disclaimer</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal">_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Frtk-users&data=04%7C01%7Cm.bleeker%40amsterdamumc.nl%7C3165fe4e89b9415f102c08d8957c635b%7C68dfab1a11bb4cc6beb528d756984fb6%7C0%7C0%7C637423708767591179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kXfZl4AdoIDa8kZXZaoYkSGKli8vMkEx6D%2FounarkXE%3D&reserved=0" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>