[Rtk-users] Building First Reconstruction
Bleeker, M. (Margot)
m.bleeker at amsterdamumc.nl
Wed Dec 2 03:01:42 EST 2020
Hi;
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:
---
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"
---
During the build of FirstReconstruction I now get the same error, but a different file cannot be opened:
----
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"
D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake --build .
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists
.txt
FirstReconstruction.cxx
LINK : fatal error LNK1104: cannot open file 'RTK.lib' [D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\exampl
es\FirstReconstruction\Build\FirstReconstruction.vcxproj]
----
Do you know what I’m doing wrong?
Margot
From: Simon Rit <simon.rit at creatis.insa-lyon.fr>
Sent: maandag 30 november 2020 23:09
To: Bleeker, M. (Margot) <m.bleeker at amsterdamumc.nl>
Cc: rtk-users at public.kitware.com
Subject: Re: [Rtk-users] Building First Reconstruction
Hi,
Can you confirm that you have built ITK with Module_RTK ON also in Debug mode? See https://github.com/SimonRit/RTK/blob/master/INSTALLATION.md<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> for some instructions.
Simon
On Fri, Nov 27, 2020 at 3:10 PM Bleeker, M. (Margot) <m.bleeker at amsterdamumc.nl<mailto:m.bleeker at amsterdamumc.nl>> wrote:
Hello,
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:
----
D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake --build .
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists
.txt
FirstReconstruction.cxx
LINK : fatal error LNK1104: cannot open file 'D:\Program files\InsightToolkit-5.1.1\Build\lib\Debug\itkRTK-5.1.lib' [D:
\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build\FirstReconstruction.vcxproj]
------
Does anyone know how I can solve this issue?
Many thanks in advance!
Kind regards,
Margot
______________________________________________________
VUmc disclaimer : www.vumc.nl/disclaimer<http://www.vumc.nl/disclaimer>
AMC disclaimer : www.amc.nl/disclaimer<http://www.amc.nl/disclaimer>
_______________________________________________
Rtk-users mailing list
Rtk-users at public.kitware.com<mailto:Rtk-users at public.kitware.com>
https://public.kitware.com/mailman/listinfo/rtk-users<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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20201202/39dbaab7/attachment.htm>
More information about the Rtk-users
mailing list