Closed albert-ying closed 3 years ago
Hey, thanks for checking out the project. Looks like you just need to update xcode to be able to compile the newer c++ standards. Let us know if it works after that.
Hey, thanks for checking out the project. Looks like you just need to update xcode to be able to compile the newer c++ standards. Let us know if it works after that.
Here is my Xcode version. `❯ xcodebuild -version
Xcode 12.1 Build version 12A7403` I reinstalled Xcode and restarted the laptop, everything in .Rprofile are temporary comments out. Still gives me the same error. Any idea what is happening here?
I am a bit lost here because the std
flag is set by the R build system. Also the CI is able to build successfully on R.4.0.3, Mac OS 10.15.7.
My only guess is that it's somehow using an old compiler version that is installed somewhere else on your machine.
Maybe try following the instructions under "Removing old installation files" here.
Finally solved it. It turns out that somehow the R is using an old version of Clang++ in the Anaconda3 folder. I deleted it, and the error is gone. Thank you!
Hi, this package looks amazing, I was trying to install it in R.4.0.2, Mac OS 10.15.7.
I encountered following error:
I'm not familiar with C++, and cannot find similar error on google. Could you please help me out? Thank you!