Compilation errors

disable the xphoto module (cmake variables, browse with cmake-gui) and see where that takes you