Skip to content

Instantly share code, notes, and snippets.

Rain Wei wzrzt

Block or report user

Report or block wzrzt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wzrzt / rcpp_mojave.txt
Created Dec 13, 2018 — forked from mjsteinbaugh/DEPRECATED-rcpp-mojave.txt
Rcpp macOS Mojave header fix
View rcpp_mojave.txt
# macOS Mojave fixes
# Cpp headers are messed up on Mojave.
# Setting `CPPFLAGS` in `~/.R/Makevars` doesn't work.
CPPFLAGS="-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
# The second option is to hard install the headers back to the default location of previous macOS builds
# e.g. /usr/local.
# This works but isn't a great solution since it requires modifying Mojave.
You can’t perform that action at this time.