> /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." You must include glib.h, not glib/gtypes.h. Have you tried checking the pkg-config files as Donald Tournier suggested? http://www.nitrc.org/pipermail/mrtrix-discussion/2012-August/000499.html