[Mrtrix-discussion] Possible to install mrtrix-0.2.12 on Mac OS X 10.11?
Jeurissen Ben
ben.jeurissen at uantwerpen.be
Wed Mar 2 22:35:20 PST 2016
Hi Katie,
Looks like those are all compiler warnings and not errors (at least in the subset you are showing). It might just build fine... Do you end up with working binaries in the bin directory?
Apart from that, I don't see much reason to prefer mrtrix 0.2 over 0.3 apart from wanting to exactly reproduce earlier results. It should be fairly trivial to port your wrapper to mrtrix 0.3 (https://github.com/MRtrix3/mrtrix3/wiki/MRtrix-0.2-equivalent-commands).
If you are running into any issues with porting, it is best to turn to
http://community.mrtrix.org as this mailing list (and probably mrtrix0.2) is dying a slow death.
Cheers,
Ben
-
Ben Jeurissen, Ph.D.
Post-doctoral researcher
iMinds-Vision Lab, Dept. of Physics
University of Antwerp
Universiteitsplein 1, N.1.18
B-2610 Wilrijk, Belgium
Phone: +32 3 265 24 77
Email: ben.jeurissen at uantwerpen.be
Url: http://visielab.uantwerpen.be/people/ben-jeurissen
________________________________________
From: mrtrix-discussion-bounces at public.nitrc.org [mrtrix-discussion-bounces at public.nitrc.org] on behalf of Katherine Elizabeth Travis [ktravis1 at stanford.edu]
Sent: 03 March 2016 07:07
To: mrtrix-discussion at www.nitrc.org
Subject: [Mrtrix-discussion] Possible to install mrtrix-0.2.12 on Mac OS X 10.11?
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
More information about the Mrtrix-discussion
mailing list