[Mrtrix-discussion] mac version of software

Donald Tournier d.tournier at brain.org.au
Thu Feb 17 23:56:36 PST 2011


Hi Michael,

Perhaps not surprisingly, you're not the first to express interest in a Mac
version of MRtrix... I did try once a while ago, and kind of managed to get
something working, but it wasn't really satisfactory. To cut a long story
short, the command-line utilities seemed to work OK, but the GUI components
didn't really seem to work well. I'd eventually convinced myself that it was
down to poor OpenGL support on the X compatibility layer. Mind you, this was
on an older PowerPC Mac, so things might have changed since then...

The most painful part was the installation of the dependencies, in
particular gtkmm and gtkglext. I had to compile these from source, since the
pre-compiled versions available at the time were too old. There's a website
that provides pre-compiled packages for Mac at http://www.finkproject.org.
I've just had a brief look, and it now looks like all the required
dependencies are there and sufficiently up to date - you might be in luck!

So it looks like it would be worth giving it a shot. If you feel up to it,
here's a few pointers: you'll need to generate a new config file for the
build - probably named darwin.py (it's named according whatever Python's
platform.system() function returns), in the sysconf folder.  I'd recommend
you start with a copy of the linux one, and modify it as needed. It should
be a simple matter of figuring out the correct include paths, and possibly
changing a few compiler options. You shouldn't need to modify the code in
any way.

Needless to say, if you manage to get it working, I'd be more than happy for
you to load it up on NITRC... :)

Cheers,

Donald.


On 17 February 2011 07:05, Michael Zeineh <mmzeineh at gmail.com> wrote:

> Has anyone been able to compile any part of mrtrix on the mac? mrview and
> mrconvert are outstanding general tools, along with all the other great
> dti/csd tools!
>
> Thank you,
> Michael Zeineh
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>



-- 
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9496 4078
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20110218/61c3807c/attachment.html


More information about the Mrtrix-discussion mailing list