JinmiaoChenLab / Rphenograph

Rphenograph: R implementation of the PhenoGraph algorithm
47 stars 26 forks source link

Mojave #7

Open lirap01 opened 5 years ago

lirap01 commented 5 years ago

Hi, I tried installing Rphenograph on a Mac Mojave system and I'm getting a 'clang' result. See below. My HighSierra systems install fine.

It appears that the devtools are in a new location. Is that it? What should I do?

paste

devtools::install_github("JinmiaoChenLab/Rphenograph")

Downloading GitHub repo JinmiaoChenLab/Rphenograph@master checking DESCRIPTION meta-information ...9/d5121s9d2tqgvbhz95zr0hy9s5mm48/T/RtmphDNQWc/remotes20e4444f5901/JinmiaoChenLab-Rphenograph-0298487/DESCRIPTION’ ... Installing package into ‘/Users/lirapd/Library/R/3.6/library’ (as ‘lib’ is unspecified) ' installing source* package ‘Rphenograph’ ... using staged installation libs clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Users/lirapd/Library/R/3.6/library/Rcpp/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' [-Wmissing-sysroot] In file included from RcppExports.cpp:4: In file included from /Users/lirapd/Library/R/3.6/library/Rcpp/include/Rcpp.h:27: In file included from /Users/lirapd/Library/R/3.6/library/Rcpp/include/RcppCommon.h:29: In file included from /Users/lirapd/Library/R/3.6/library/Rcpp/include/Rcpp/r/headers.h:59: In file included from /Users/lirapd/Library/R/3.6/library/Rcpp/include/Rcpp/platform/compiler.h:100: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:305: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:301:15: fatal error: 'math.h' file not found

include_next

          ^~~~~~~~

1 error generated. make: ** [RcppExports.o] Error 1ERROR: compilation failed for package ‘Rphenograph’ ' removing ‘/Users/lirapd/Library/R/3.6/library/Rphenograph’ Error in i.p(...) : (converted from warning) installation of package ‘/var/folders/y9/d5121s9d2tqgvbhz95zr0hy9s5mm48/T//RtmphDNQWc/file20e45a809919/Rphenograph_0.99.1.tar.gz’ had non-zero exit status