<div dir="ltr"><div><div><div>Hello,<br><br>I get the following error on a VTK build:<br><br>-- vtkDICOM: Building vtkDICOM as a Remote VTK Module<br>CMake Error: Could not open file for write in copy operation /usr/local/lib/cmake/vtk-7.1/Modules/vtkDICOM.cmake.tmp<br>CMake Error: : System Error: Permission denied<br><br><br></div>This file does not exist so I guess the problem with the copy operation makes sense, but I do not understand the permission denied.<br><br></div>When building as root I get:<br>-- vtkDICOM: Building vtkDICOM as a Remote VTK Module<br>CMake Error at /usr/local/lib/cmake/vtk-7.1/vtkModuleAPI.cmake:53 (message):<br>  No such module: "vtkDICOM"<br>Call Stack (most recent call first):<br>  Wrapping/Python/CMakeLists.txt:156 (vtk_module_load)<br><br></div>Can someone tell me what could be causing these errors?<br></div>