Sorry I did not mention that before.
I am trying to load Dicom series from folder and then I can read it qvtkwidget of Qt using VTK.
Then I can use it for further processing like segmentation.
I tried this example in windows, and it was working fine. But when I use it Ubuntu system, it shows me above error.