Open aelias1 opened 4 years ago
Hello, More probably, this is what to do to resolve it (reference; https://github.com/BUStools/BUSpaRse):
First, download and install the appropriate (latest) version of the Clang compiler from: https://cran.r-project.org/bin/macosx/tools/
Second, in RStudio:
CC=/usr/local/clang6/bin/clang SHLIB_CXXLD=/usr/local/clang6/bin/clang++ CXX= /usr/local/clang6/bin/clang++ -Wall CXX1X= /usr/local/clang6/bin/clang++ CXX98= /usr/local/clang6/bin/clang++ CXX11= /usr/local/clang6/bin/clang++ CXX14= /usr/local/clang6/bin/clang++ CXX17= /usr/local/clang6/bin/clang++ LDFLAGS=-L/usr/local/clang6/lib
This worked nicely for me, I hope it does for you as well.
There's a solution provided here: https://github.com/kharchenkolab/conos/wiki/Installing-Conos-for-Mac-OS
I have installed the following packages already: pcaMethods hdf5r
However...when I use the code: install_github("velocyto-team/velocyto.R") I receive the error: clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' [-Wmissing-sysroot] clang: error: unsupported option '-fopenmp' make: *** [RcppExports.o] Error 1 ERROR: compilation failed for package ‘velocyto.R’
Please help me resolve this. Thank you!