[Mrtrix-discussion] mrtrix-0.2.11 compilation errors on CentOS 5.9

Sjaak.vanAsten at radboudumc.nl Sjaak.vanAsten at radboudumc.nl
Tue Oct 8 07:15:07 PDT 2013


Dear MRTrix users,

I'm trying to compile mrtrix-0.2.11 on CentOS release 5.9. All the 
required dependencies seem to be met, but I still get the following 
errors: see below...

Am I forgetting some include files?

Thank you for your help!

Jack.

ERROR: [CC] cmd/gen_unit_warp.o

g++ -c -Wall -mtune=amdfam10 -fPIC -fno-strict-aliasing 
-DGL_GLEXT_PROTOTYPES -DUSE_TR1 -O2 -pthread -I/usr/include/glibmm-2.4 
-I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 
-I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -Ilib -Isrc cmd/gen_unit_warp.cpp -o 
cmd/gen_unit_warp.o

failed with output:

src/dwi/tractography/file.h:94: error: ‘goffset’ does not name a type
src/dwi/tractography/file.h: In member function ‘void 
MR::DWI::Tractography::Writer::append(const std::vector<MR::Point, 
std::allocator<MR::Point> >&)’:
src/dwi/tractography/file.h:70: error: ‘goffset’ was not declared in 
this scope
src/dwi/tractography/file.h:70: error: expected `;' before ‘current’
src/dwi/tractography/file.h:71: error: ‘current’ was not declared in 
this scope
src/dwi/tractography/file.h:77: error: expected `;' before ‘end’
src/dwi/tractography/file.h:80: error: ‘end’ was not declared in this scope

STOP

ERROR: [CC] cmd/streamtrack.o

g++ -c -Wall -mtune=amdfam10 -fPIC -fno-strict-aliasing 
-DGL_GLEXT_PROTOTYPES -DUSE_TR1 -O2 -pthread -I/usr/include/glibmm-2.4 
-I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 
-I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -Ilib -Isrc cmd/streamtrack.cpp -o 
cmd/streamtrack.o

failed with output:

src/dwi/tractography/file.h:94: error: ‘goffset’ does not name a type
src/dwi/tractography/file.h: In member function ‘void 
MR::DWI::Tractography::Writer::append(const std::vector<MR::Point, 
std::allocator<MR::Point> >&)’:
src/dwi/tractography/file.h:70: error: ‘goffset’ was not declared in 
this scope
src/dwi/tractography/file.h:70: error: expected `;' before ‘current’
src/dwi/tractography/file.h:71: error: ‘current’ was not declared in 
this scope
src/dwi/tractography/file.h:77: error: expected `;' before ‘end’
src/dwi/tractography/file.h:80: error: ‘end’ was not declared in this scope


-- 
Drs.Ing. Sjaak van Asten      E:Sjaak.vanAsten at radboudumc.nl  
NMR Research Technician       T: +31 24 3668392/14545
767 Radiology, UMC St Radboud F: +31 24 3540866
POBox 9101, 6500HB Nijmegen   M: +31 6 42060726
Netherlands                   W:http://biomr.runmc-radiology.nl


Het Radboudumc staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud university medical centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.




More information about the Mrtrix-discussion mailing list