Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-04 Thread Paul Fishwick
t;>> In file included from capture.c:1: >>> >>> In file included from >>> /Library/Frameworks/R.framework/Resources/include/Rinternals.h:44: >>> >>> In file included from >>> /Library/Frameworks/R.framework/Resources/include/R_ext/Arith.h:41:

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Simon Urbanek
included from /usr/local/include/math.h:8: >> >> In file included from /usr/local/include/features.h:10: >> >> /usr/local/include/forwards.h:10:10: fatal error: 'config.h' file not found >> >> #include "config.h" >> >>

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Paul Fishwick
pture.o] Error 1 > > ERROR: compilation failed for package ‘rlang’ > > > > ………. > > > > From: Carl Ganz > Date: Sunday, May 3, 2020 at 12:04 PM > To: Paul Fishwick > Cc: > Subject: Re

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Kevin Ushey
not found > > #include "config.h" > > ^~ > > 1 error generated. > > make: *** [capture.o] Error 1 > > ERROR: compilation failed for package ‘rlang’ > > > > ………. > > > > From: Carl Ganz > Date: Sunday, May 3, 202

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Paul Fishwick
tion failed for package ‘rlang’ ………. From: Carl Ganz Date: Sunday, May 3, 2020 at 12:04 PM To: Paul Fishwick Cc: Subject: Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s) This is probably beyond my understanding at this point, but the solution I offered worked for me wit

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Carl Ganz
per/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:749:12: > note: 'finite' declared here > > extern int finite(double) > >^ > > > > *From: *Carl Ganz > *Date: *Sunday, May 3, 2020 at 11:02 AM > *To: *Paul Fishwick >

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Paul Fishwick
Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:749:12: note: 'finite' declared here extern int finite(double)    ^ From: Carl Ganz Date: Sunday, May 3, 2020 at 11:02 AM To: Paul Fishwick Cc: Subject: Re: [Rcpp-devel] Cannot run rcpp due to missing inclu

Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Carl Ganz
I experienced similar issues on Mac and was able to fix by adding PKG_CPPFLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include to my .R/Makevars My understanding is that Mac no longer uses the /usr/local/include so you need to point it t

[Rcpp-devel] Cannot run rcpp due to missing include file(s)

2020-05-03 Thread Paul Fishwick
System: Mac OSX 11 (Catalina), Rstudio with R version 3.6.3 (but have also tried 4.0 and 3.3), Xcode version 11.4.1 Went to: http://adv-r.had.co.nz/Rcpp.html#rcpp-intro and tried library(rcpp) which worked fine because I previously had installed the rcpp package. The following yields an error i