I would like to install MRtrix3 on Lubuntu 12.04.
I ran ./configure:
fred@fred:~/mrtrix3$ ./configure
MRtrix build type requested: release
Detecting OS: linux
Checking for C++11 compliant compiler [/usr/bin/g++-4.8]: 4.8 - tested ok
Detecting pointer size: 32 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.4
checking for Eigen 3 library: 3.0.5
Checking shared library generation: yes
Checking for Qt moc: moc (version 4.8.1)
Checking for Qt qmake: qmake (version 4.8.1)
Checking for Qt rcc: rcc (version 4.8.1)
Checking for Qt: 4.8.1
writing configuration to file './release/config': ok
But when I run ./build, I get
fred@fred:~/mrtrix3$ ./build
ERROR: ( 1/412) [CC] release/cmd/tckgen.o
/usr/bin/g++-4.8 -c -std=c++11 -pthread -fPIC -march=native -isystem /usr/include/eigen3 -Wall -O2 -DNDEBUG -Isrc -Icmd -I./lib -Icmd -isystem /usr/include/eigen3 cmd/tckgen.cpp -o release/cmd/tckgen.o
failed with output
In file included from src/dwi/tractography/tracking/exec.h:25:0,
from cmd/tckgen.cpp:24:
src/dwi/tractography/tracking/method.h: In member function bool MR::DWI::Tractography::Tracking::MethodBase::check_seed():
src/dwi/tractography/tracking/method.h:60:24: error: Eigen::Vector3f has no member named allFinite
if (!pos.allFinite())
^
In file included from src/dwi/tractography/tracking/exec.h:29:0,
from cmd/tckgen.cpp:24:
src/dwi/tractography/mapping/mapper.h: In member function void MR::DWI::Tractography::Mapping::TrackMapperBase::voxelise(const MR::DWI::Tractography::Streamline<float>&, Cont&) const:
src/dwi/tractography/mapping/mapper.h:184:25: error: const class Eigen::Matrix<float, 3, 1> has no member named allFinite
if (dir.allFinite())
^
src/dwi/tractography/mapping/mapper.h:193:23: error: const class Eigen::Matrix<float, 3, 1> has no member named allFinite
if (dir.allFinite())
^
In file included from cmd/tckgen.cpp:30:0:
src/dwi/tractography/algorithms/fact.h: In member function bool MR::DWI::Tractography::Algorithms::FACT::init():
src/dwi/tractography/algorithms/fact.h:92:25: error: const Vector3f has no member named allFinite
if (!S.init_dir.allFinite()) {
^
src/dwi/tractography/algorithms/fact.h:93:20: error: Eigen::Vector3f has no member named allFinite
if (!dir.allFinite())
^
In file included from cmd/tckgen.cpp:31:0:
src/dwi/tractography/algorithms/iFOD1.h: In member function bool MR::DWI::Tractography::Algorithms::iFOD1::init():
src/dwi/tractography/algorithms/iFOD1.h:140:25: error: const Vector3f has no member named allFinite
if (!S.init_dir.allFinite()) {
^
src/dwi/tractography/algorithms/iFOD1.h:145:28: error: const Vector3f has no member named allFinite
dir = init_dir.allFinite() ? rand_dir (init_dir) : random_direction();
^
In file included from cmd/tckgen.cpp:32:0:
src/dwi/tractography/algorithms/iFOD2.h: In member function bool MR::DWI::Tractography::Algorithms::iFOD2::init():
src/dwi/tractography/algorithms/iFOD2.h:196:31: error: const Vector3f has no member named allFinite
if (!S.init_dir.allFinite()) {
^
src/dwi/tractography/algorithms/iFOD2.h:201:34: error: const Vector3f has no member named allFinite
dir = init_dir.allFinite() ? rand_dir (init_dir) : random_direction();
^
In file included from cmd/tckgen.cpp:33:0:
src/dwi/tractography/algorithms/nulldist.h: In member function bool MR::DWI::Tractography::Algorithms::NullDist1::init():
src/dwi/tractography/algorithms/nulldist.h:61:26: error: const Vector3f has no member named allFinite
dir = S.init_dir.allFinite() ? S.init_dir : random_direction();
^
src/dwi/tractography/algorithms/nulldist.h: In member function bool MR::DWI::Tractography::Algorithms::NullDist2::init():
src/dwi/tractography/algorithms/nulldist.h:116:26: error: const Vector3f has no member named allFinite
dir = S.init_dir.allFinite() ? S.init_dir : random_direction();
^
In file included from cmd/tckgen.cpp:34:0:
src/dwi/tractography/algorithms/sd_stream.h: In member function bool MR::DWI::Tractography::Algorithms::SDStream::init():
src/dwi/tractography/algorithms/sd_stream.h:103:23: error: const Vector3f has no member named allFinite
if (!S.init_dir.allFinite()) {
^
src/dwi/tractography/algorithms/sd_stream.h:104:18: error: Eigen::Vector3f has no member named allFinite
if (!dir.allFinite())
^
In file included from cmd/tckgen.cpp:36:0:
src/dwi/tractography/algorithms/tensor_det.h: In member function void MR::DWI::Tractography::Algorithms::Tensor_Det::get_EV():
src/dwi/tractography/algorithms/tensor_det.h:137:13: error: class Eigen::SelfAdjointEigenSolver<Eigen::Matrix<float, 3, 3> > has no member named computeDirect
eig.computeDirect (M);
^
In file included from cmd/tckgen.cpp:24:0:
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::FACT]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::FACT]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::FACT> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::FACT; std::string = std::basic_string<char>]
cmd/tckgen.cpp:181:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
if (!method.pos.allFinite()) {
^
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::iFOD1]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::iFOD1]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::iFOD1> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::iFOD1; std::string = std::basic_string<char>]
cmd/tckgen.cpp:184:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::iFOD2]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::iFOD2]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::iFOD2> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::iFOD2; std::string = std::basic_string<char>]
cmd/tckgen.cpp:187:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::NullDist1]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::NullDist1]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::NullDist1> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::NullDist1; std::string = std::basic_string<char>]
cmd/tckgen.cpp:190:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::NullDist2]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::NullDist2]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::NullDist2> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::NullDist2; std::string = std::basic_string<char>]
cmd/tckgen.cpp:193:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::SDStream]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::SDStream]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::SDStream> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::SDStream; std::string = std::basic_string<char>]
cmd/tckgen.cpp:196:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::Seedtest]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::Seedtest]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::Seedtest> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::Seedtest; std::string = std::basic_string<char>]
cmd/tckgen.cpp:199:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::Tensor_Det]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::Tensor_Det]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::Tensor_Det> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::Tensor_Det; std::string = std::basic_string<char>]
cmd/tckgen.cpp:202:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
src/dwi/tractography/tracking/exec.h: In instantiation of bool MR::DWI::Tractography::Tracking::Exec<Method>::gen_track(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::Tensor_Prob]:
src/dwi/tractography/tracking/exec.h:119:35: required from bool MR::DWI::Tractography::Tracking::Exec<Method>::operator()(MR::DWI::Tractography::Tracking::GeneratedTrack&) [with Method = MR::DWI::Tractography::Algorithms::Tensor_Prob]
./lib/thread_queue.h:1049:48: required from void MR::Thread::run_queue(Source&&, const Type&, Sink&&, size_t) [with Source = MR::Thread::{anonymous}::__Multi<MR::DWI::Tractography::Tracking::Exec<MR::DWI::Tractography::Algorithms::Tensor_Prob> >; Type = MR::Thread::{anonymous}::__Batch<MR::DWI::Tractography::Tracking::GeneratedTrack>; Sink = MR::DWI::Tractography::Tracking::WriteKernel&; size_t = unsigned int]
src/dwi/tractography/tracking/exec.h:66:122: required from static void MR::DWI::Tractography::Tracking::Exec<Method>::run(const string&, const string&, MR::DWI::Tractography::Properties&) [with Method = MR::DWI::Tractography::Algorithms::Tensor_Prob; std::string = std::basic_string<char>]
cmd/tckgen.cpp:205:26: required from here
src/dwi/tractography/tracking/exec.h:194:21: error: Eigen::Vector3f has no member named allFinite
What should I do?