Skip to content
Prev 5411 / 10988 Next

[Rcpp-devel] Regular Expressions

On Sat, Mar 2, 2013 at 7:05 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
I had tried both these. It does not seem to be picking up the
PKG_LIBS.  There is no -l... or -L... on the g++ cmd line.

Its also not clear precisely which boost distribution to use.  I had
tried http://nuwen.net/mingw.html (version 8.0) and also tried the
boost library from Cygwin.

If I use the MinGW from nuewn and run this from the Windows cnd line I
get no errors or warnings (note that ^ must be the last character on
the line to escape the newline):

C:\MinGW\set_distro_paths.bat
g++ -DNDEBUG ^
 -L %userprofile%/Documents/R/win-library/2.15/Rcpp/lib/x64/libRcpp.a ^
 -lboost_regex ^
 -I"C:/PROGRA~1/R/R-2.15/include" ^
 -I%userprofile%/Documents/R/win-library/2.15/Rcpp/include ^
 -O2 -Wall -mtune=core2 -c credit.cpp -o credit.o

If tyhat is ok then what would the next step be?

--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com