-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building vtk DICOM as VTK module with USE_ITK_GDCM clashes with zlib #226
Comments
I ran some tests today, and I can confirm that using Things work if VTK is built without enabling the remote module, and then vtkDICOM is externally (since |
As a follow-up, vtkDICOM builds as a remote module if I edit |
Thank you for your really quick answer. Could this behavior be documented, if it is not possible to fix ? I spent some time trying to figure out the issue. |
Good morning,
I tried to build VtkDicom as a VTK 9.0.1 remote module using the option USE_ITK_GDCM activated to avoid rebuilding GDCM since I use it also for ITK 5.3.
This is how i build ITK as an external project of my project
and VTK
I get a CMake error when building vtk Dicom when the find_package(ITK) is done, Zlib seems to be clashing between ITK and VTKDicom. We also build ZLib as an external library in the project. If I use the argument ITK_USE_SYSTEM_ZLIB for ITK I don't have the issue but the ZLib path in the CMake exported target of ITK is absolute and not relative to ITK project.
Do you have any leads about this error ? Thank you
The text was updated successfully, but these errors were encountered: