Hello everyone!
I'm desperately trying to compile GDCM with VTK support to use in my c++ code...
Version:
GDCM: 3.0.22
VTK: 9.3.0
For cmake configuration, I put:
GDCM_USE_VTK = YES
VTKGDCM_NAME = vtkgdcm
VTK_MODULE_ENABLE_GDCM_vtkgdcm = YES
During generation, I get the following error:
Building Utilities/VTK as a VTK 9 Module
CMake Error at /usr/local/lib/cmake/vtk-9.3/vtkModule.cmake:2121 (message):
TheSPDX_DESTINATION
must not be an absolute path. Use
CMAKE_INSTALL_PREFIX
to keep everything in a single installation prefix.
Call Stack (most recent call first):
/usr/local/lib/cmake/vtk-9.3/vtkModule.cmake:2667 (_vtk_module_check_destinations)
CMakeLists.txt:694 (vtk_module_build)
I don't know if the problem is with VTK, but I've tried various build operations on VTK without success to solve the problem with GDCM.
Thanks in advance for your help
I've also run into this problem under MacPorts: https://trac.macports.org/ticket/68835
With the following patch I succeded to build against VTK 9.3.0
Fixed 3be6c2fa0945c91889bcf06e8c20e88f69692dd5
thanks !