dgobbi / vtk-dicom

A set of classes for using DICOM in VTK.
BSD 3-Clause "New" or "Revised" License
259 stars 94 forks source link

Error while enabling the vtkDICOM module in VTK 8.2.0 #169

Closed chenjianyyzz closed 5 years ago

chenjianyyzz commented 5 years ago

I try to enable the vtkDICOM module in VTK 8.2.0, I set the Module vtkDICOM option for the cmake cache: cmake -D Module_vtkDICOM :BOOL=ON …/vtk -source then I got the warning: CMake Warning: Manually-specified variables were not used by the project: Module_vtkDICOM

does anybody know how to handle this? thanks

dgobbi commented 5 years ago

Try this:

cmake -D Module_vtkDICOM=ON ../vtk-source

What operating system are you using?

dgobbi commented 5 years ago

You will also need to apply the following fix to the VTK source:

https://gitlab.kitware.com/vtk/vtk/commit/0a90fe94