@bgoodri and @coatless, I’ve sent some more info in the other thread, but I tested something else now. I removed .R/Makevars
completely. Then I ran foo.R (1.5 KB).
If I remove Makevars
it samples nicely. If I put it back it gives me:
c++ exception (unknown reason)
and if I remove Makevars
again, it samples nicely again…
My Makevars looks like this:
CFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
CCFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
CXXFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
CPPFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
And if I put " around the “-isysroot … sdk” it doesn’t work, and since it’s a directory I even tried putting / at the end.
But now I tried another example and it gave me the same error…
I use
system(“clang++ --version”)
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: /usr/local/clang7/bin