Looks like the problem may be that R is automatically passing this flag to the g++ compiler: "-arch x86_64" which appears to be causing trouble for opencv. Does anyone know how to suppress this flag?
-- View this message in context: http://r.789695.n4.nabble.com/How-to-make-sure-R-s-g-compiler-uses-certain-C-flags-when-making-a-package-tp3355924p3382992.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.