[Mrtrix-discussion] Error in build

J-Donald Tournier jdtournier at gmail.com
Tue Jun 7 04:13:28 PDT 2016


Hi Madhura,

As stated in the docs
<http://mrtrix.readthedocs.io/en/latest/installation/linux_install.html#check-requirements>,
MRtrix3 requires Qt >= 4.7, otherwise it won't work. I'm pretty sure this
is what the problem is...

Also, I recommend you ask MRtrix3-related question on our dedicated
community forum <http://community.mrtrix.org/> - this mailing list is for
MRtrix 0.2, and will eventually be closed off altogether.

Best regards,

Donald.


On 7 June 2016 at 11:57, madhura ingalhalikar <mingalhalikar at gmail.com>
wrote:

> Dear MrTrix3 Team,
> I am trying to build mrtrix on CentOS 6.8. It configures successfully
> however throws an error at 330/432. Please see below:
>
> [root at localhost mrtrix3]# python2.7 ./configure
>
> MRtrix build type requested: release
>
> Detecting OS: linux
> Checking for C++11 compliant compiler [g++]: 4.8.2 - tested ok
> Detecting pointer size: 64 bit
> Detecting byte order: little-endian
> Checking for variable-length array support: yes
> Checking for non-POD variable-length array support: yes
> Checking for zlib compression library: 1.2.3
> checking for Eigen 3 library: 3.2.5
> Checking shared library generation: yes
> Checking for Qt moc: moc (version 4.6.2)
> Checking for Qt qmake: qmake (version 4.6.2)
> Checking for Qt rcc: rcc (version 4.6.2)
> Checking for Qt: 4.6.2
>
> writing configuration to file './release/config': ok
>
> The build goes ok till 330 and then it throws the following error:
>
> (330/432) [CC] release/src/gui/opengl/gl.o
> (331/432) [CC] release/lib/registration/transform/initialiser.o
> ERROR: (330/432) [CC] release/src/gui/opengl/gl.o
>
> ERROR: (330/432) [CC] release/src/gui/opengl/gl.o
>
> g++ -c -std=c++11 -pthread -fPIC -march=native -DMRTRIX_WORD64 -isystem
> /usr/include/eigen3 -Wall -O2 -DNDEBUG -Isrc -Icmd -I./lib -Icmd -isystem
> /usr/include/eigen3 -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
> -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
> -DQT_CORE_LIB -isystem /usr/lib64/qt4/mkspecs/linux-g++-64 -isystem
> /usr/include/QtCore -isystem /usr/include/QtGui -isystem
> /usr/include/QtOpenGL -isystem /usr/include/QtSvg -isystem /usr/include
> -isystem /usr/X11R6/include src/gui/opengl/gl.cpp -o
> release/src/gui/opengl/gl.o
>
> failed with output
>
> src/gui/opengl/gl.cpp: In function void MR::GUI::GL::set_default_context():
> src/gui/opengl/gl.cpp:53:13: error: MR::GUI::GL::Format has no member
> named setVersion
>            f.setVersion (3,3);
>              ^
> src/gui/opengl/gl.cpp:54:13: error: MR::GUI::GL::Format has no member
> named setProfile
>            f.setProfile (GL::Format::CoreProfile);
>              ^
> src/gui/opengl/gl.cpp:54:25: error: CoreProfile is not a member of
> MR::GUI::GL::Format {aka QGLFormat}
>            f.setProfile (GL::Format::CoreProfile);
>
> Please let me know how to resolve this.
>
> Thanks a lot,
>
> Madhura Ingalhalikar, PhD
>
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>


-- 
*Dr J-Donald Tournier (PhD)*

*Senior Lecturer, **Biomedical Engineering*

*Division of Imaging Sciences & Biomedical EngineeringKing's College London*


*A: Department of Perinatal Imaging & Health, 1st Floor South Wing, St
Thomas' Hospital, London. SE1 7EH*
*T: +44 (0)20 7188 7118 ext 53613*
*W: http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering
<http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20160607/3b378dd8/attachment.html>


More information about the Mrtrix-discussion mailing list