Hi,
Maybe a potential C++ standard mismatch, ROOT being compiled with a given C++ standard while CASToR enforces C++11. You can check C++ standard used to compile ROOT with root-config --features.
If they are different, could you follow the steps from the following thread ?
(use the CMakeLists.txt provided in the discussion, and set CXX_FLAGS to the one used to compile ROOT)