<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Donald, thanks for your answer. Today still try to install it into OS X 10.8 and we think that the problem is perhaps that one of the libraries may not work properly on 10.8
<div>The problem is that macport or fink don't recognise &lt;glib.h&gt;, despite it is listed at one of the libraries that is active.</div>
<div><br>
</div>
<div>I'm wondering if there are other OS X10.8 user that have experienced the same inconvenient, or if someone have any idea how can I solve this I will be grateful,&nbsp;</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Javier Urriola</div>
<div><br>
</div>
<div><br>
</div>
<div>// The whole error that we receive after the comand ./build is the following:</div>
<div><br>
</div>
<div>
<div>
<div>
<div>bash-3.2$ cd mrtrix-0.2.10</div>
<div>bash-3.2$ ls</div>
<div>COPYING &nbsp; &nbsp; &nbsp; &nbsp; build &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icons &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; matlab &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;src</div>
<div>Doxyfile &nbsp; &nbsp; &nbsp; &nbsp;changelog.txt &nbsp; doc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; readme.txt &nbsp; &nbsp; &nbsp;sysconf</div>
<div>bash-3.2$ PKG_CONFIG_PATH=/opt/local/lib/pkgconfig</div>
<div>bash-3.2$ export PKG_CONFIG_PATH</div>
<div>bash-3.2$ ./build&nbsp;</div>
<div>[CC] cmd/dir2amp.o</div>
<div>&nbsp;[CC] lib/file/dicom/quick_scan.o</div>
<div>[CC] cmd/streamtrack.o</div>
<div>[CC] lib/file/dicom/study.o</div>
<div>&nbsp;[CC] cmd/gen_unit_warp.o</div>
<div>&nbsp;[CC] src/dwi/tractography/tracker/sd_prob.o</div>
<div>[CC] cmd/import_tracks.o</div>
<div>[CC] src/dwi/tractography/tracker/base.o</div>
<div>ERROR: [CC] lib/file/dicom/study.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc lib/file/dicom/study.cpp -o lib/file/dicom/study.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/patient.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/study.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /opt/local/include/glib-2.0/glib/gtypes.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/patient.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/study.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/patient.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/study.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/patient.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/study.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/patient.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/study.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gutils.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/patient.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/study.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;ERROR: [CC] lib/file/dicom/quick_scan.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc lib/file/dicom/quick_scan.cpp -o lib/file/dicom/quick_scan.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.cpp:30:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /opt/local/include/glib-2.0/glib/gtypes.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.cpp:30:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.cpp:30:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.cpp:30:</div>
<div>/opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.cpp:30:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gutils.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/file/dicom/quick_scan.cpp:30:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div><br>
</div>
<div><br>
</div>
<div>ERROR: [CC] cmd/dir2amp.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc cmd/dir2amp.cpp -o cmd/dir2amp.o</div>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/dir2amp.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /opt/local/include/glib-2.0/glib/gtypes.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/dir2amp.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/dir2amp.cpp:23:</div>
</div>
<div><br>
</div>
<div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/dir2amp.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/dir2amp.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gutils.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/dir2amp.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div><br>
</div>
<div><br>
</div>
<div>ERROR: [CC] src/dwi/tractography/tracker/sd_prob.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc src/dwi/tractography/tracker/sd_prob.cpp -o src/dwi/tractography/tracker/sd_prob.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div><br>
</div>
<div>ERROR: [CC] cmd/import_tracks.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc cmd/import_tracks.cpp -o cmd/import_tracks.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/import_tracks.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /opt/local/include/glib-2.0/glib/gtypes.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/import_tracks.cpp:23:</div>
</div>
<div><br>
</div>
<div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/import_tracks.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/import_tracks.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/import_tracks.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gutils.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/import_tracks.cpp:23:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /opt/local/include/glib-2.0/glib/gtypes.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
</div>
<div><br>
</div>
<div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gutils.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/sd_prob.cpp:27:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div><br>
</div>
<div><br>
</div>
<div>ERROR: [CC] cmd/gen_unit_warp.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc cmd/gen_unit_warp.cpp -o cmd/gen_unit_warp.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/gen_unit_warp.cpp:26:</div>
</div>
<div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/gen_unit_warp.cpp:26:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div><br>
</div>
<div><br>
</div>
<div>ERROR: [CC] src/dwi/tractography/tracker/base.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc src/dwi/tractography/tracker/base.cpp -o src/dwi/tractography/tracker/base.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.cpp:43:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /opt/local/include/glib-2.0/glib/gtypes.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.cpp:43:</div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.cpp:43:</div>
</div>
<div>
<div>/opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.cpp:43:</div>
<div>/opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.cpp:43:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from /opt/local/include/glib-2.0/glib/gutils.h:34,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/object.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/position.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/image/interp.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.h:49,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/dwi/tractography/tracker/base.cpp:43:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div><br>
</div>
<div><br>
</div>
<div>ERROR: [CC] cmd/streamtrack.o</div>
<div><br>
</div>
<div>g&#43;&#43; -c -Wall -mtune=native -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -I/sw/include -O2 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc&#43;&#43;-2.0 -I/opt/local/lib/sigc&#43;&#43;-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -Ilib -Isrc cmd/streamtrack.cpp -o cmd/streamtrack.o</div>
<div><br>
</div>
<div>failed with output:</div>
<div><br>
</div>
<div>In file included from lib/mrtrix.h:65,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/streamtrack.cpp:49:</div>
<div>/opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
<div>In file included from lib/mrtrix.h:66,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/ptr.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/args.h:26,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lib/app.h:30,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cmd/streamtrack.cpp:49:</div>
<div>/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error &quot;Only &lt;glib.h&gt; can be included directly.&quot;</div>
</div>
</div>
<div><br>
<div>
<div>On 03/08/2012, at 4:32 PM, Donald Tournier &lt;<a href="mailto:d.tournier@brain.org.au">d.tournier@brain.org.au</a>&gt;</div>
<div>&nbsp;wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi Javier,
<div><br>
</div>
<div>I have no experience with MacOSX, so can't really help much.&nbsp;Sounds like something got messed up with pkg-config - this is a command whose job is simply to provide the correct settings needed for the compiler to use various libraries. It's complaining
 of not finding the config for the various gtkmm dependencies. This issue is not directly related to MRtrix as such, you'd need to figure out why the upgrade messed up your install of gtkmm or pkg-config...&nbsp;</div>
<div><br>
</div>
<div>Maybe there are other mac users on this forum who can help out...?</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Donald.</div>
<div><br>
<br>
<br>
<div class="gmail_quote">On 2 August 2012 17:13, Mr Javier Urriola Yaksic <span dir="ltr">
&lt;<a href="mailto:javier.urriolayaksic@uq.net.au" target="_blank">javier.urriolayaksic@uq.net.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Dear MRtrix team,&nbsp;
<div><br>
</div>
<div>Recently I upgraded to OS X 10.8</div>
<div>Since then I've been trying to install mrtrix following the macports and also fink method, but both of them fail when I try to compile mrtrix. Here are the lines with the error on the libraries:</div>
<div><br>
</div>
<div>
<div>Package glibmm-2.4 was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `glibmm-2.4.pc'</div>
<div>to the PKG_CONFIG_PATH environment variable</div>
<div>No package 'glibmm-2.4' found</div>
<div>WARNING: unable to find glibmm-2.4,gthread-2.0 configuration</div>
<div>Package gtkmm-2.4 was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `gtkmm-2.4.pc'</div>
<div>to the PKG_CONFIG_PATH environment variable</div>
<div>No package 'gtkmm-2.4' found</div>
<div>WARNING: unable to find gtkmm-2.4 configuration</div>
<div>Package gtkmm-2.4 was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `gtkmm-2.4.pc'</div>
<div>to the PKG_CONFIG_PATH environment variable</div>
<div>No package 'gtkmm-2.4' found</div>
<div>WARNING: unable to find gtkmm-2.4 configuration</div>
<div>Package glibmm-2.4 was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `glibmm-2.4.pc'</div>
<div>to the PKG_CONFIG_PATH environment variable</div>
<div>No package 'glibmm-2.4' found</div>
<div>WARNING: unable to find glibmm-2.4,gthread-2.0 configuration</div>
<div>Package gtkmm-2.4 was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `gtkmm-2.4.pc'</div>
<div>to the PKG_CONFIG_PATH environment variable</div>
<div>No package 'gtkmm-2.4' found</div>
<div>WARNING: unable to find gtkmm-2.4 configuration</div>
<div>Package gtkmm-2.4 was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `gtkmm-2.4.pc'</div>
<div>to the PKG_CONFIG_PATH environment variable</div>
<div>No package 'gtkmm-2.4' found</div>
<div>WARNING: unable to find gtkmm-2.4 configuration</div>
<div>Traceback (most recent call last):</div>
<div>&nbsp; File &quot;./build&quot;, line 968, in &lt;module&gt;</div>
<div>&nbsp; &nbsp; [ Entry(item) for item in targets ]</div>
<div>&nbsp; File &quot;./build&quot;, line 245, in __init__</div>
<div>&nbsp; &nbsp; if is_executable (<a href="http://self.name/" target="_blank">self.name</a>): self.set_executable()</div>
<div>&nbsp; File &quot;./build&quot;, line 276, in set_executable</div>
<div>&nbsp; &nbsp; '$bin$': [ <a href="http://self.name/" target="_blank">self.name</a> ] })</div>
<div>&nbsp; File &quot;./build&quot;, line 375, in fillin</div>
<div>&nbsp; &nbsp; if item in keyvalue: cmd &#43;= keyvalue[item]</div>
<div>TypeError: 'NoneType' object is not iterable</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>// All libraries appear to be active in macport list and also in fink list. It can be some incompatibility error or do I have to try a different way to install it?</div>
<div><br>
</div>
<div>Thanks you in advance,</div>
<br>
<br>
<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;text-align:-webkit-auto;font-variant:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<div style="font-style:normal"><b>Urriola Yaksic, Mr Javier</b></div>
<div><i>Magnetic Resonance Postgraduate Master student</i></div>
<div><i>University of Queensland</i></div>
<div style="font-style:normal;font-weight:normal">QLD 4067 Australia</div>
<div style="font-style:normal;font-weight:normal"><br>
</div>
<div style="font-style:normal;font-weight:normal"><br>
</div>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</span><br>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Jacques-Donald Tournier (PhD)<br>
Brain Research Institute, Melbourne, Australia<br>
Tel: &#43;61 (0)3 9035 7033<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>