[R-SIG-Mac] R , RCPP unsing MACOS ventura

Calboli Federico (LUKE) |eder|co@c@|bo|| @end|ng |rom |uke@||
Tue Mar 14 13:40:23 CET 2023

I know that posting a makevars is somehow iffy, but I installed GCC with homebrew and my



CC=/opt/homebrew/bin/gcc-12 -fopenmp
CXX=/opt/homebrew/bin/g++-12 -fopenmp
CXX11=/opt/homebrew/bin/g++-12 -fopenmp
CXX14=/opt/homebrew/bin/g++-12 -fopenmp
CXX17=/opt/homebrew/bin/g++-12 -fopenmp
FC=/opt/R/arm64/gfortran/bin/gfortran -mtune=native
FLIBS=-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1 -L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lm
CFLAGS=-mtune=native -g -O2 -Wall -pedantic -Wconversion
CXXFLAGS=-mtune=native -g -O2 -Wall -pedantic -Wconversion

I installed the command line tools with

xcode-select --install

and I installed gcc with homebrew. It works:

> library(Rcpp)
> evalCpp( "1+1")
[1] 2

Federico Calboli
Genomiikka ja jalostus

From: R-SIG-Mac <r-sig-mac-bounces using r-project.org> on behalf of Michael Hall <mik3hall using gmail.com>
Date: Tuesday, 14. March 2023 at 13.52
To: r-sig-mac <r-sig-mac using r-project.org>
Subject: Re: [R-SIG-Mac] R , RCPP unsing MACOS ventura

> On Mar 14, 2023, at 6:00 AM, r-sig-mac-request using r-project.org wrote:
> [R-SIG-Mac] R , RCPP unsing MACOS ventura

Google shows others have had the issue.

Suggestions include...

Uninstall and reinstall command line tools.


...following the wisdom of the "homebrew doctor" solves it, i.e. remove and reinstall:

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select �install


Rebuild with export SYSTEM_VERSION_COMPAT=1

Searched with�
<built-in>: error: unknown value �13.2.0� of �-mmacosx-version-min�

        [[alternative HTML version deleted]]

R-SIG-Mac mailing list
R-SIG-Mac using r-project.org

	[[alternative HTML version deleted]]

More information about the R-SIG-Mac mailing list