I did not test the library on linux at all, but if I understand it correctly (and I might be wrong), you need to install BOOST, and create a shared library from geodesic_matlab_api.cpp.
Watch out for the compiler messages though -- from what I see now, you might have to put -1.0 instead of -1 on line 167 of geodesic_matlab_api.cpp for this file to work correctly.
Thanks for the code. I have problems trying to run it under Win7 64 bits with a 64bits Matlab version also. It says "Microsoft Visual C++ 2005 or 2008 is required to use this feature." While loading a library. I've installed the runtime libraries from visual studio but it didn't work. Any idea?
Thanks for the submit - to fix the "Pointer type must match data type", change int32PtrPtr to longPtrPtr in line 17 of file "geodesic_distance_and_source.m".
Segmentation violation error occurs when applied to some tri-mesh. This error is usually caused by memory leakage, it would be a nice contribution if the error can be fixed.