|
You need to rebuild after you make that change. Delete the .o and .so |files
|from below src/, try again.
It works now, thanks.
Xiaobo Gu___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin
On 4 September 2013 at 21:08, Steve Jaffe wrote:
| The simplest solution is to build nlopt as a shared library and link to
| that. See http://ab-ini
tio.mit.edu/wiki/index.php/NLopt_Installation#Shared_libraries
Please see the subsequent posts by Doug -- we already have that.
| (I may be wrong,
The simplest solution is to build nlopt as a shared library and link to that.
See http://ab-initio.mit.edu/wiki/index.php/NLopt_Installation#Shared_libraries
(I may be wrong, but I don't think it's always possible to link a static
library into a shared library regardless of how the static librar
On 5 September 2013 at 09:28, guxiaobo1982 wrote:
| I tried this
|
| ## Use the R_HOME indirection to support installations of multiple R version
| PKG_CPPFLAGS=-I/opt/boost_1_54_0/include -I../inst/include
| PKG_LIBS=-L/opt/boost_1_54_0/lib -lboost_regex `$(R_HOME)/bin/Rscript -e
| "Rcpp:::LdFla
I tried this
## Use the R_HOME indirection to support installations of multiple R version
PKG_CPPFLAGS=-I/opt/boost_1_54_0/include -I../inst/include
PKG_LIBS=-L/opt/boost_1_54_0/lib -lboost_regex `$(R_HOME)/bin/Rscript -e
"Rcpp:::LdFlags()"`
and this:
## Use the R_HOME indirection to suppor
Hi Dirk!
Thanks a lot for the quick reply. I will definitely try your suggestions. It
could take a little longer though, as I destroyed my System 30 mins ago while I
was a little too nasty on the shell.
I will try as soon as I reconstructed everything.
Best Simon!
Gesendet über den BlackBer
Do you know of the nloptr and nloptwrap R packages based on NLopt. The
nloptr package installs the NLopt library. Unfortunately it does not put
the header files in inst/include in the source package so they will be
available in the include subdirectory of the installed package.
On Wed, Sep 4,
On 4 September 2013 at 18:51, Simon Zehnder wrote:
| Dear Rcpp::Users, Rcpp::Devels,
|
| I am following the ongoing discussion 'How to use external C++ libraries in R
packages withRcpp' (Makevars are still one of my weaknesses) and I have a
related question.
|
| I am trying to use the C++ opt
Dear Rcpp::Users, Rcpp::Devels,
I am following the ongoing discussion 'How to use external C++ libraries in R
packages withRcpp' (Makevars are still one of my weaknesses) and I have a
related question.
I am trying to use the C++ optimization library nlopt
(http://ab-initio.mit.edu/wiki/index.
On 4 September 2013 at 18:21, guxiaobo1982 wrote:
| Hi Dirk,
|
| Thanks for you help, here is wha I got in a test package:
|
| 1.Rcpp.package.skeleton("cpptest")
Good start!
| 2. Add the following line to Makevars
|
| PKG_CPPFLAGS=-I/opt/boost_1_54_0/include -I../inst/include PKG_LIBS = -L
Hi Dirk,
Thanks for you help, here is wha I got in a test package:
1.Rcpp.package.skeleton("cpptest")
2. Add the following line to Makevars
PKG_CPPFLAGS=-I/opt/boost_1_54_0/include -I../inst/include PKG_LIBS =
-L/opt/boost_1_54_0/lib -lboost_regex `$(R_HOME)/bin/Rscript -e
"Rcpp:::LdFlags()
11 matches
Mail list logo