<div dir="ltr"><div>Hi,</div><div>Can you confirm that you have built ITK with Module_RTK ON also in Debug mode? See <a href="https://github.com/SimonRit/RTK/blob/master/INSTALLATION.md">https://github.com/SimonRit/RTK/blob/master/INSTALLATION.md</a> for some instructions.<br></div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">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:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_2777045930903799579WordSection1">
<p class="MsoNormal">Hello, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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:<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">----<u></u><u></u></p>
<p class="MsoNormal">D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake --build .<u></u><u></u></p>
<p class="MsoNormal">Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework<u></u><u></u></p>
<p class="MsoNormal">Copyright (C) Microsoft Corporation. All rights reserved.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> Checking Build System<u></u><u></u></p>
<p class="MsoNormal"> Building Custom Rule D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists<u></u><u></u></p>
<p class="MsoNormal"> .txt<u></u><u></u></p>
<p class="MsoNormal"> FirstReconstruction.cxx<u></u><u></u></p>
<p class="MsoNormal">LINK : fatal error LNK1104: cannot open file 'D:\Program files\InsightToolkit-5.1.1\Build\lib\Debug\itkRTK-5.1.lib' [D:<u></u><u></u></p>
<p class="MsoNormal">\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build\FirstReconstruction.vcxproj]<u></u><u></u></p>
<p class="MsoNormal">------<span lang="NL"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Does anyone know how I can solve this issue? <br>
<br>
Many thanks in advance!<br>
<br>
Kind regards, <br>
Margot<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div style="text-align:center;font-family:Trebuchet MS,Arial,Helvetica,sans;font-size:9px;color:rgb(0,0,0)">
______________________________________________________<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><br>
</div>
</div>
_______________________________________________<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://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div>