[Rcpp-devel] Linking problem when wrapping a armadillo-based C++ library in a R package using RcppArmadillo

2018-07-25 Thread julien chiquet
Hi, I am trying to wrap the optim library (https://github.com/kthohr/optim) in R via an R package using Rcpp/RcppArmadillo. Indeed, optim relies on armadillo itself. The github repository can be found here https://github.com/jchiquet/optimLibR To do that, I put the headers of optim into inst/incl

Re: [Rcpp-devel] Linking problem when wrapping a armadillo-based C++ library in a R package using RcppArmadillo

2018-07-25 Thread Dirk Eddelbuettel
On 25 July 2018 at 17:30, julien chiquet wrote: | Hi, | | I am trying to wrap the optim library (https://github.com/kthohr/optim) in | R via an R package using Rcpp/RcppArmadillo. Indeed, optim relies on | armadillo itself. The github repository can be found here | https://github.com/jchiquet/op

Re: [Rcpp-devel] Linking problem when wrapping a armadillo-based C++ library in a R package using RcppArmadillo

2018-07-25 Thread julien chiquet
On Wed, Jul 25, 2018 at 5:57 PM Dirk Eddelbuettel wrote: > > On 25 July 2018 at 17:30, julien chiquet wrote: > | Hi, > | > | I am trying to wrap the optim library (https://github.com/kthohr/optim) > in > | R via an R package using Rcpp/RcppArmadillo. Indeed, optim relies on > | armadillo itself.

Re: [Rcpp-devel] Linking problem when wrapping a armadillo-based C++ library in a R package using RcppArmadillo

2018-07-25 Thread Keith O'Hara
I’m traveling without my laptop this week. I’ll take a look at the error when I return. Best, Keith > On Jul 25, 2018, at 12:26 PM, julien chiquet wrote: > >> On Wed, Jul 25, 2018 at 5:57 PM Dirk Eddelbuettel wrote: > >> >> On 25 July 2018 at 17:30, julien chiquet wrote: >> | Hi, >> | >> |

Re: [Rcpp-devel] Linking problem when wrapping a armadillo-based C++ library in a R package using RcppArmadillo

2018-07-25 Thread julien chiquet
Great ! And no hurry. Best, j Julien Chiquet http://julien.cremeriefamily.info mel: julien.chiq...@inra.fr tel: +33(0)1 44 08 16 73 On Wed, Jul 25, 2018 at 7:12 PM Keith O'Hara wrote: > I’m traveling without my laptop this week. I’ll take a look at the error > when I return. > > Best, > Ke