Open boboshaq opened 2 years ago
I think that this is a problem with gcc versions. ITKR was compiled with different version of gcc than this ANTsCORE installation. I have multiple versions of gcc installed in my system. Default gcc in my system is 4.8.5 version but I may use 5.5.0 and 7.5.0 versions too. Originally installed version 4.8.5 is to old to install ITKR+ANTsCORE+ANTsR packages so I typically use 7.5.0 version (before i tried 5.5.0 version). I have it in my PATH and lib64 path is in LD_LIBRARY_PATH variable . While ITKR use 7.5.0 gcc version, ANTsCORE and ANTsR use 4.8.5 version inside R installation and in cmdline installation (R CMD INSTALL). They do not use ~/.R/Makevars file at all. In my case, to install ANTsCORE and ANTsR packages I had to export CXX and CC variable with pathes to 7.5.0 version of gcc before installation begins (R CMD INSTALL ...)
Describe the bug I can't install ANTsRCore because of error: compilation failed for package 'ANTsRCore'
To Reproduce
Screenshots
Desktop (please complete the following information):