Closed coolbutuseless closed 3 years ago
Can you install the RcppThread library separately?
This looks to be an RcppThread (https://github.com/tnagler/RcppThread) issue, but I'd like to confirm before opening an issue.
RcppThread cleanly installs from both CRAN and github.
> packageVersion('Rcpp')
[1] ‘1.0.6’
> packageVersion('RcppThread')
[1] ‘1.0.0’
I'm still getting the same error when I try and install rayvertex.
Let me know if there's anything I can run on my machine to help debug.
So the errors appear when you install RcppThread by itself? (i.e. it's not only when you install rayvertex)
It looks like you aren't compiling with C++11 support. What version of clang++ are you using?
clang++ -v
If you add CXX11STD = -std=gnu++11
to your Makeconf file (mine is located here in macOS: /Library/Frameworks/R.framework/Versions/4.1/Resources/etc/
), does it compile then?
CXX11STD = -std=gnu++11
is set within my global Makeconf
However, a Makevars
at the user level was interfering with that definition. I've deleted the user-level Makevars
and now it compiles.
Thanks for helping out on what is obviously not an issue with {rayvertex}
but is a PEBKAC.
Installation via
devtools
failing on my macOS11.4Installation output attached below.