I got this error while installing MRtrix on Mac OS!
REPORT:
MRtrix build type requested: release version
REPORT: WARNING: Anaconda removed from PATH to avoid conflicts
REPORT: Detecting OS: darwin
EXEC <<
CMD: sw_vers -productVersion
EXIT: 0
STDOUT:
10.15.1
>>
REPORT: OS X deployment target: 10.15
REPORT: Looking for compiler [x86_64-apple-darwin13.4.0-clang++]:
EXEC <<
CMD: x86_64-apple-darwin13.4.0-clang++ --version
error invoking command "x86_64-apple-darwin13.4.0-clang++": No such file or directory: 'x86_64-apple-darwin13.4.0-clang++'
>>
REPORT: not found
ERROR: no suitable compiler found!
Set the CXX environment variable to inform 'configure' of the path to the
compiler on your system, as follows:
$ export CXX=/usr/bin/g++-5.5
$./configure
(amend with the actual path to the compiler on your system)
If you are using a compiler other than gcc or clang, you can also set the CXX_ARGS
environment variable to specify how your compiler expects different arguments
to be presented on the command line, for instance as follows:
$ export CXX_ARGS="-c CFLAGS SRC -o OBJECT"
$ ./configure
See the file 'configure.log' for details. If this doesn't help and you need
further assistance, please post on the MRtrix3 community forum
(http://community.mrtrix.org/), and make sure to include the full contents of
the 'configure.log' file.
I tried all the suggestions + export CXX=/usr/bin/g+±9 which is my installed g++, any help would be appreciated!
Thanks