RTKConsortium / RTK

Reconstruction Toolkit
Apache License 2.0
241 stars 142 forks source link

Unable to successfully build the rtk library #592

Closed xem123 closed 4 months ago

xem123 commented 4 months ago

I want to compile RTK. First, I downloaded the source code of ITK5.3.0 version, and then used cmake to compile ITK and RTK. My cmake configure is as follows, and the configure process can be completed normally. However, I encountered an error during the build process, which reads as follows and seems to be related to the dcmtk library.Does the dcmtk library need to be downloaded separately? Or is it because there is a problem with my configuration? I have not been able to solve this problem, and I am in a hurry. Thank you!

cmake=3.20.1 visual studio 2017 ITK=5.3.0 moudle_RTK=on Module_RTK_GIT_TAG=3f0aa3145d03b8cbc7c6d44bbfd03728b531909c fftw-3.3.5-dll64

image image image image image

image image

xem123 commented 4 months ago

image image

SimonRit commented 4 months ago

Have you tried to compile without Module_ITKDCMTK? I also noticed that you ticked ITK_USE_GPU and ITK_USE_CUFFTW which are not required and might interfere with RTK (I haven't tried). It is also strange to have both BUILD_SHARED_LIBS and BUILD_STATIC_LIBS ticked, isn't it? In any case, unless you have a proven bug related to RTK, I would suggest to use the mailing list.