[Rtk-users] Missing *.lib at compilation with ITK 5.3 and 5.4 ?

Vincent Libertiaux vl at xris.eu
Thu Dec 7 12:39:53 CET 2023


Works fine, thanks !

V.

On 07.12.23 12:04, Simon Rit wrote:
> If you're using Cuda, you'll probably need itkCudaComon-5.4.dll too. 
> But in general, I think it's easier and safer to manage all this with 
> CMake following the FirstReconstruction example 
> <https://github.com/RTKConsortium/RTK/tree/master/examples/FirstReconstruction/>.
> Simon
>
> On Thu, Dec 7, 2023 at 11:34 AM Vincent Libertiaux <vl at xris.eu> wrote:
>
>     Yes, I have the same. What puzzled me is that I already had the
>     itkRTK-5.2 on top of the all the others.
>
>     If you can confirm this is the only one I need to link against in
>     my GUI, I am all good !
>
>     Thank you again,
>
>     V.
>
>     On 07.12.23 11:27, Simon Rit wrote:
>>     Ok. On my Windows box which compiles RTK nightly with Ninja and
>>     MSVC 2019, the libs are in the bin folder and called
>>     itkRTK-5.4.dll and bin/itkCudaCommon-5.4.dll. Maybe the itk
>>     prefix is new?
>>
>>     On Thu, Dec 7, 2023 at 11:23 AM Vincent Libertiaux <vl at xris.eu>
>>     wrote:
>>
>>         Hi Simon,
>>
>>         I tried on Windows 10 and 11, with Visual Studio 2019.
>>
>>         I compile ITK and RTK jointly, with the cuda option on.  I
>>         tried building both static and dynamic libraries and just
>>         static ones, the result is the same.
>>
>>         I have no warning in CMAKE or in Visual Studio.
>>
>>         Thank you for your time,
>>
>>         V.
>>
>>         On 07.12.23 11:13, Simon Rit wrote:
>>>         Hi,
>>>         I'm not sure, I guess there is if you see a difference! Can
>>>         you tell us more about the operating system and the
>>>         compiler? Do you compile ITK first and then RTK or both jointly?
>>>         Simon
>>>
>>>         On Thu, Dec 7, 2023 at 11:02 AM Vincent Libertiaux
>>>         <vl at xris.eu> wrote:
>>>
>>>             Hello !
>>>
>>>             I have built a GUI around RTK with ITK 5.2 module and
>>>             everything works
>>>             fine.
>>>
>>>             I wanted to upgrade to ITK 5.3 ( I also tried with ITK
>>>             5.4 with the same
>>>             results) and for some reasons, not all the rtk*.lib
>>>             (located in the
>>>             Build/lib folder) are generated.  I only have 3 of them
>>>             with the 5.3 and
>>>             0 with the 5.4.  All my CMake options were the same than
>>>             for the
>>>             compilation of version 5.2, namely building shared and
>>>             static libraries.
>>>
>>>             The applications (rtkfdk, rtkprojections,...) work fine.
>>>
>>>
>>>             I looked into the CMakeLists files but couldn't really
>>>             find any useful
>>>             information.
>>>
>>>
>>>             Is there any significant difference in the *lib
>>>             generation after ITK v
>>>             5.2 ??
>>>
>>>             I thank you in advance for any help you can provide !
>>>
>>>             Best regards,
>>>
>>>             Vincent
>>>
>>>             _______________________________________________
>>>             Rtk-users mailing list
>>>             rtk-users at openrtk.org
>>>             https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users
>>>
>>         _______________________________________________
>>         Rtk-users mailing list
>>         rtk-users at openrtk.org
>>         https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users
>>
>     _______________________________________________
>     Rtk-users mailing list
>     rtk-users at openrtk.org
>     https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20231207/dcc53062/attachment-0001.htm>


More information about the Rtk-users mailing list