When I build MRtrix ,How to solute this error?

ERROR: ( 9/546) [CC] tmp/core/math/stats/glm.o

g++ -c -std=c++11 -DMRTRIX_BUILD_TYPE=“release version” -pthread -fPIC -DMRTRIX_WORD64 -DMRTRIX_HAVE_EIGEN_UNSUPPORTED_SPECIAL_FUNCTIONS -DMRTRIX_TIFF_SUPPORT -idirafter /usr/include/x86_64-linux-gnu -DMRTRIX_PNG_SUPPORT -idirafter /usr/include/libpng16 -DEIGEN_FFTW_DEFAULT -Wall -O3 -DNDEBUG -Isrc -I./core -Icmd -idirafter /usr/include/eigen3 -DEIGEN_DONT_PARALLELIZE core/math/stats/glm.cpp -o tmp/core/math/stats/glm.o

failed with output

g++: fatal error: 已杀死 signal terminated program cc1plus
compilation terminated.

Hi, this is likely because your system is running out of memory during compilation. By default, MRtrix3 uses multiple CPU cores to speed up the build process which may result in an out of memory error. To disable multithreaded builds, you can try this:


See here for more information.