Re: [Rcpp-devel] Packaging - and even more packaging

2013-02-03 Thread Dirk Eddelbuettel
Simon, On 3 February 2013 at 14:51, Douglas Bates wrote: | On Sun, Feb 3, 2013 at 2:41 PM, Simon Zehnder wrote: | Is it even possible to put already a static library into the package and | then compile? Or do I have to put in all source files of the NLopt library | and create during

Re: [Rcpp-devel] Packaging - and even more packaging

2013-02-03 Thread Douglas Bates
On Sun, Feb 3, 2013 at 2:41 PM, Simon Zehnder wrote: > Dear Rcpp-Devels, > > maybe you have an answer for me as packaging is a little new for me: > > I took the NLopt library (http://ab-initio.mit.edu/wiki/index.php/NLopt) > and installed it into a subfolder /nlopt-2.3 in my package-/src folder.

[Rcpp-devel] Packaging - and even more packaging

2013-02-03 Thread Simon Zehnder
Dear Rcpp-Devels, maybe you have an answer for me as packaging is a little new for me: I took the NLopt library (http://ab-initio.mit.edu/wiki/index.php/NLopt) and installed it into a subfolder /nlopt-2.3 in my package-/src folder. The library depends on a header nlopt.hpp and a static library