[Mrtrix-discussion] mac os installation error: cannot find 'lib/libmrtrix-0_2_11.dylib'
Dan Wu
dwu18 at jhu.edu
Thu Feb 20 13:10:04 PST 2014
Dear MRtrix expert,
I have been working with MRtrix-0.2.10 for a while. Now I am trying to
install the MRtrix-0.2.11 on a new mac pro (OS X 10.9.1). I have
successfully installed the independencies via MacPorts, but got a bunch of
errors during compilation. Just list a few here. Can I get your advices
that how shall I proceed? Thanks a lot!
STDERR: [CC] cmd/mrview.o
In file included from src/mrview/display_area.h:28:0,
from src/mrview/window.h:36,
from cmd/mrview.cpp:27:
src/mrview/pane.h: In member function 'MR::Point
MR::Viewer::Pane::model_to_screen(const MR::Point&) const':
src/mrview/pane.h:66:11: warning: 'GLint gluProject(GLdouble, GLdouble,
GLdouble, const GLdouble*, const GLdouble*, const GLint*, GLdouble*,
GLdouble*, GLdouble*)' is deprecated (declared at
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280)
[-Wdeprecated-declarations]
gluProject (pos[0], pos[1], pos[2], modelview, projection,
viewport, &wx, &wy, &wz);
^
src/mrview/pane.h:66:93: warning: 'GLint gluProject(GLdouble, GLdouble,
GLdouble, const GLdouble*, const GLdouble*, const GLint*, GLdouble*,
GLdouble*, GLdouble*)' is deprecated (declared at
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280)
[-Wdeprecated-declarations]
gluProject (pos[0], pos[1], pos[2], modelview, projection,
viewport, &wx, &wy, &wz);
^
src/mrview/pane.h: In member function 'MR::Point
MR::Viewer::Pane::screen_to_model(const MR::Point&) const':
src/mrview/pane.h:73:11: warning: 'GLint gluUnProject(GLdouble, GLdouble,
GLdouble, const GLdouble*, const GLdouble*, const GLint*, GLdouble*,
GLdouble*, GLdouble*)' is deprecated (declared at
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297)
[-Wdeprecated-declarations]
gluUnProject (pos[0], pos[1], pos[2], modelview, projection,
viewport, &wx, &wy, &wz);
^
src/mrview/pane.h:73:95: warning: 'GLint gluUnProject(GLdouble, GLdouble,
GLdouble, const GLdouble*, const GLdouble*, const GLint*, GLdouble*,
GLdouble*, GLdouble*)' is deprecated (declared at
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297)
[-Wdeprecated-declarations]
gluUnProject (pos[0], pos[1], pos[2], modelview, projection,
viewport, &wx, &wy, &wz);
^
[LD] lib/libmrtrix-0_2_11.dylib
ERROR: [LD] lib/libmrtrix-0_2_11.dylib
g++ -shared -L/opt/local/lib lib/math/vector.o lib/math/matrix.o
lib/image/format/analyse.o lib/file/dicom/quick_scan.o
lib/image/format/list.o lib/file/dicom/image.o lib/file/config.o
lib/point.o lib/image/name_parser.o lib/image/format/xds.o lib/data_type.o
lib/args.o lib/file/dicom/patient.o lib/file/dicom/tree.o lib/image/fft.o
lib/image/header.o lib/file/dicom/mapper.o lib/file/dicom/select_cmdline.o
lib/math/linalg.o lib/file/dicom/study.o lib/file/dicom/element.o
lib/file/mmap.o lib/image/format/nifti1.o lib/file/dicom/dict.o
lib/image/format/mrtrix.o lib/image/format/base.o lib/image/axis.o
lib/image/interp.o lib/image/mapper.o lib/file/dicom/series.o lib/mrtrix.o
lib/image/format/mri.o lib/image/object.o lib/image/format/dicom.o
lib/app.o lib/file/key_value.o -L/opt/local/lib -lglibmm-2.4 -lgobject-2.0
-lsigc-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lgsl -lgslcblas -lz -o
lib/libmrtrix-0_2_11.dylib
failed with output:
Undefined symbols for architecture x86_64:
--
Dan Wu
PhD Candidate
Department of Biomedical Engineering
Johns Hopkins University
email: dwu18 at jhu.edu
phone: 443-564-9191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20140220/c1975fac/attachment.html>
More information about the Mrtrix-discussion
mailing list