Open NeginValizadegan opened 3 years ago
Can anyone help with this, please? I'm on a Mac.
This problem was resolved by following instructions here https://thecoatlessprofessor.com/programming/r/uninstalling-the-r-development-toolchain-on-macos/ and https://thecoatlessprofessor.com/programming/cpp/r-compiler-tools-for-rcpp-on-macos/
Please help:
error "*** C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo"
^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadillo.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadilloForward.h:49: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo:85: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:149:12: error: unknown type name 'constexpr' static constexpr bool is_row = false; ^ /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:149:22: error: expected member name or ';' after declaration specifiers static constexpr bool is_row = false;