Skip to content
Prev 10020 / 10988 Next

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

On 3 May 2018 at 16:19, Evan Biederstedt wrote:
| Working with Linux first, is it common to compile a C library (i.e. bamdb)
| within /src, and then use extern? My understanding is that I will have to
| change the R package's Makevars to compile the C library first, and then
| link to this.
| 
| If there are any examples on github which you would be able to recommend,
| that might be best. Then I can close this thread :)

You have the hardest possibe deployment option here it requires temporary
root to make a library a system library -- and R CMD ... does not have that.

You need to change your plan. Using external libraries is hard. There are no
freebies.

Dirk