Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Ralf Stubner
> Am 30.04.2018 um 23:42 schrieb Evan Biederstedt : > > @Ralf > > > I had not installed the necessary C library, so unsurprisingly the > > compilation step already failed. What I find interesting is that in my case > > "-std=gnu++11“ and "-I../inst/include/" are present in the command line >

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Evan Biederstedt
@Ralf > I had not installed the necessary C library, so unsurprisingly the compilation step already failed. What I find interesting is that in my case "-std=gnu++11“ and "-I../inst/include/" are present in the command line options for clang++. These are also missing from what you quoted and are al

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Ralf Stubner
> Am 30.04.2018 um 21:01 schrieb Evan Biederstedt : > @Ralf > > > You can change the used compiler for *your* system via ~/.R/Makevars, > > though. From my point of view that is a (short-time) workaround only. You > > have to figure out why clang does not like your package/library. > > I've ye

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Dirk Eddelbuettel
Evan, Could something be amiss with your macOS machine? Can you install other packages without issues on it? Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ___ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org ht

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Evan Biederstedt
Hi all Thank you for the responses. @Keith > Looks like your PKG_LIBS arguments are ignored/overwritten on the Mac build; ‘bambi.so’ appears to be missing objects contained in -lbamdb, hence the load error. Yes, it's odd. @Dirk > Are the libraries installed on the macOS box? When I build ba

[Rcpp-devel] [ANN] RcppArmadillo 0.8.500.0 with Armadillo 8.500

2018-04-30 Thread Dirk Eddelbuettel
That version of RcppArmadillo is now on CRAN. Dirk On 21 April 2018 at 12:52, Dirk Eddelbuettel wrote: | | Conrad has released Armadillo 8.500, and I wrapped this up as version | 0.8.500.0 of RcppArmadillo which had seen quite some testing via two | pre-releases with proper reverse depensd chec

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Dirk Eddelbuettel
On 30 April 2018 at 06:48, Evan Biederstedt wrote: | Dear list | | I have the following R package which is interacting with a C library via | Rcpp and extern. At some point, the goal is to combine thesebut I'm | trying this with baby steps. | | R package with C++ wrapper: | https://github.co

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Keith O'Hara
Looks like your PKG_LIBS arguments are ignored/overwritten on the Mac build; ‘bambi.so’ appears to be missing objects contained in -lbamdb, hence the load error. Keith > On Apr 30, 2018, at 6:48 AM, Evan Biederstedt > wrote: > > Dear list > > I have the following R package which is interact

Re: [Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Ralf Stubner
On 30.04.2018 12:48, Evan Biederstedt wrote: > How do I direct the Makevars to use g++ and give me the "correct" build > as I see on Linux? `CXX=g++` or `CXX=/usr/local/bin/g++` doesn't appear > to work.  Quoting Duncan Murdoch in https://stat.ethz.ch/pipermail/r-package-devel/2017q4/002087.html:

[Rcpp-devel] Getting different build commands on Linux vs. Mac OS

2018-04-30 Thread Evan Biederstedt
Dear list I have the following R package which is interacting with a C library via Rcpp and extern. At some point, the goal is to combine thesebut I'm trying this with baby steps. R package with C++ wrapper: https://github.com/d-lo/bambi The C library: https://github.com/d-lo/bamdb When I t