Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-29 Thread Fatima Batool
> *Date: *Sunday, December 29, 2019 at 2:45 PM > *To: *James Balamuta > *Cc: *"rcpp-devel@lists.r-forge.r-project.org" < > rcpp-devel@lists.r-forge.r-project.org> > *Subject: *Re: [Rcpp-devel] building shared library error with sourceCpp > > > > Ah, I guess

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-29 Thread Fatima Batool
${R_HOME}/lib/libc++abi.1.dylib > > # clang: end > > > > - JJB > > > > > > *From: *Rcpp-devel on > behalf of Fatima Batool > *Date: *Saturday, December 28, 2019 at 5:05 PM > *To: *Simon Urbanek > *Cc: *"rcpp-devel@lists.r-forge.r-project.org&quo

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-28 Thread Balamuta, James Joseph
ct: Re: [Rcpp-devel] building shared library error with sourceCpp That's nothing extra, it's the first step in the link. On Sat, Dec 28, 2019 at 2:14 PM Simon Urbanek mailto:simon.urba...@r-project.org>> wrote: Did you follow the instructions I sent you? Sent from my iPhone On D

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-28 Thread Fatima Batool
That's nothing extra, it's the first step in the link. On Sat, Dec 28, 2019 at 2:14 PM Simon Urbanek wrote: > Did you follow the instructions I sent you? > > Sent from my iPhone > > On Dec 28, 2019, at 12:38, Fatima Batool wrote: > >  > Hi Drik and Simon, > > thanks you for the help! > > I hav

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-28 Thread Simon Urbanek
Did you follow the instructions I sent you? Sent from my iPhone > On Dec 28, 2019, at 12:38, Fatima Batool wrote: > >  > Hi Drik and Simon, > > thanks you for the help! > > I have followed all the instructions Drik mentioned here: > https://thecoatlessprofessor.com/programming/cpp/r-compile

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-28 Thread Fatima Batool
Hi Drik and Simon, thanks you for the help! I have followed all the instructions Drik mentioned here: *https://thecoatlessprofessor.com/programming/cpp/r-compiler-tools-for-rcpp-on-macos/ * and then run a hello

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-28 Thread Simon Urbanek
Fatima, it means you don't have command line tools installed (they are independent of Xcode and Apple OS upgrades delete things, unfortunately) - try sudo xcode-select —install That should fix the error you see. However, Catalina broke more things so you may look at the links Dirk pointed out

Re: [Rcpp-devel] building shared library error with sourceCpp

2019-12-27 Thread Dirk Eddelbuettel
Hi Fatima, On 27 December 2019 at 20:16, Fatima Batool wrote: | Hi all, | | Could anyone please advice what is going on in the following error and how | can I fix it? | | sourceCpp("/Users/fatimabatool/documents/New/Rcodes/trial.cpp") | clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Re

[Rcpp-devel] building shared library error with sourceCpp

2019-12-27 Thread Fatima Batool
Hi all, Could anyone please advice what is going on in the following error and how can I fix it? sourceCpp("/Users/fatimabatool/documents/New/Rcodes/trial.cpp") clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.6/Reso