Re: [R-pkg-devel] Linking external libraries in non-standard locations

2017-06-18 Thread Dirk Eddelbuettel
On 18 June 2017 at 10:40, Iñaki Úcar wrote: | 2017-06-17 18:00 GMT+02:00 Dirk Eddelbuettel : | > | > On 17 June 2017 at 17:30, Iñaki Úcar wrote: | > | Hi all, | > | | > | After googling around for a while, I found that this is a common | > | problem, but still it is not clear to

Re: [R-pkg-devel] Linking external libraries in non-standard locations

2017-06-18 Thread Iñaki Úcar
2017-06-17 18:00 GMT+02:00 Dirk Eddelbuettel : > > On 17 June 2017 at 17:30, Iñaki Úcar wrote: > | Hi all, > | > | After googling around for a while, I found that this is a common > | problem, but still it is not clear to me how I should handle this. > | > | I have a package A,

Re: [R-pkg-devel] Linking external libraries in non-standard locations

2017-06-17 Thread Dirk Eddelbuettel
On 17 June 2017 at 17:30, Iñaki Úcar wrote: | Hi all, | | After googling around for a while, I found that this is a common | problem, but still it is not clear to me how I should handle this. | | I have a package A, with C++ code via Rcpp, that needs an external C++ | library libB. I have a

[R-pkg-devel] Linking external libraries in non-standard locations

2017-06-17 Thread Iñaki Úcar
Hi all, After googling around for a while, I found that this is a common problem, but still it is not clear to me how I should handle this. I have a package A, with C++ code via Rcpp, that needs an external C++ library libB. I have a configure script that sets PKG_CPPFLAGS=-I/path/to/B/include