[Mrtrix-discussion] Possible to install mrtrix-0.2.12 on Mac OS X 10.11?
Katherine Elizabeth Travis
ktravis1 at stanford.edu
Wed Mar 2 22:07:47 PST 2016
Hello,
New to the group and mrtrix. Wondering if it’s possible to install older versions of MRtrix, such as mrtrix-0.2.12, on a Mac OS X running El Capitan?.
I used Macports to get and build dependencies. Specifically, I used port install glib2 glibmm libpng gtk2 gtkmm gtkglext gsl pkgconfig
When I try to compile MRtrix with ./build I get an enormous list of errors (a minor subset pasted below).
I should perhaps note that I was able to successfully install MRtrix3 on a separate machine running El Capitan.
However, I would like to employ wrapper Matlab functions that currently work only with earlier versions of MRtrix, hence why I’d like to try and install mrtrix-0.2.12.
Appreciate any insight that you can offer. Thanks very much for your help and for your time.
Sincerely,
Katie
./build
[CC] lib/math/vector.o
[CC] src/mrview/sidebar/roi_analysis.o
[CC] cmd/dir2amp.o
[CC] src/mrview/mode/base.o
[CC] lib/file/dicom/quick_scan.o
[CC] lib/image/format/list.o
[CC] cmd/streamtrack.o
STDERR: [CC] lib/file/dicom/quick_scan.o
In file included from lib/file/dicom/quick_scan.cpp:32:
In file included from lib/file/dicom/element.h:30:
In file included from lib/hash_map.h:45:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:212:5: warning: Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> [-W#warnings]
# warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
^
1 warning generated.
[CC] src/mrview/window.o
[CC] lib/image/format/xds.o
STDERR: [CC] src/mrview/sidebar/roi_analysis.o
In file included from src/mrview/sidebar/roi_analysis.cpp:24:
In file included from src/mrview/window.h:36:
In file included from src/mrview/display_area.h:28:
src/mrview/pane.h:66:11: warning: 'gluProject' is deprecated: first deprecated in OS X 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
gluProject (pos[0], pos[1], pos[2], modelview, projection, viewport, &wx, &wy, &wz);
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
^
In file included from src/mrview/sidebar/roi_analysis.cpp:24:
In file included from src/mrview/window.h:36:
In file included from src/mrview/display_area.h:28:
src/mrview/pane.h:73:11: warning: 'gluUnProject' is deprecated: first deprecated in OS X 10.9 - "Use GLKMathUnproject" [-Wdeprecated-declarations]
gluUnProject (pos[0], pos[1], pos[2], modelview, projection, viewport, &wx, &wy, &wz);
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note: 'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathUnproject");
^
2 warnings generated.
[CC] src/mrview/pane.o
[CC] src/mrview/texture.o
STDERR: [CC] src/mrview/pane.o
In file included from src/mrview/pane.cpp:23:
src/mrview/pane.h:66:11: warning: 'gluProject' is deprecated: first deprecated in OS X 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
gluProject (pos[0], pos[1], pos[2], modelview, projection, viewport, &wx, &wy, &wz);
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
^
In file included from src/mrview/pane.cpp:23:
src/mrview/pane.h:73:11: warning: 'gluUnProject' is deprecated: first deprecated in OS X 10.9 - "Use GLKMathUnproject" [-Wdeprecated-declarations]
gluUnProject (pos[0], pos[1], pos[2], modelview, projection, viewport, &wx, &wy, &wz);
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note: 'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathUnproject");
^
src/mrview/pane.cpp:81:58: warning: 'gluErrorString' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
error (String ("OpenGL Error: ") + (const char*) gluErrorString (error_code));
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:260:24: note: 'gluErrorString' has been explicitly marked deprecated here
extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPR
——————————————————
Katherine Travis, PhD
Instructor
Stanford School of Medicine
Department of Pediatrics
1265 Welch Road MSOB X163
Stanford, CA 94035
T: 650-498-2576
Mail Code: 5208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20160303/5a528a4d/attachment-0001.html>
More information about the Mrtrix-discussion
mailing list