[Mrtrix-discussion] Error in build

madhura ingalhalikar mingalhalikar at gmail.com
Tue Jun 7 03:57:23 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20160607/e5a8ec1b/attachment.html>


More information about the Mrtrix-discussion mailing list