There are few deprecation warnings which makes the compilation to fail with `-Werror` flag. Removing `-Werror` from CMakeList.txt` solves the issue.
There are few deprecation warnings which makes the compilation to fail with
-Werrorflag.Removing
-Werrorfrom CMakeList.txt` solves the issue.