I am too facing the same problem. Can somebody suggest a method to solve the error:
The error is:
error: undefined reference to `DicomImage:icomImage(char const*, unsigned long, unsigned long, unsigned long)'