Computing the volume from the ply/obj could be possible, there are maybe some libraries/apps on internet that can do that. To do it yourself, you may take at look at the
PCL library (can read ply/obj as inputs).
For building the dependencies (cross-compilation), I updated the post here:
https://github.com/introlab/rtabmap/issues/74cheers