[Rquantlib-devel] Building rquantlib on windows

Dirk Eddelbuettel edd at debian.org
Wed Sep 24 15:36:16 CEST 2014


On 24 September 2014 at 09:17, Bryan W. Lewis wrote:
| On 9/24/14, Dirk Eddelbuettel <edd at debian.org> wrote:
| > On 24 September 2014 at 11:29, Michele Salvadore wrote:
| > | C:/Program
| > Files/R/R-3.1.1/library/Rcpp/include/Rcpp/InputParameter.h:34:45:
| > | instantiated from 'Rcpp::InputParameter<T>::operator T() [with T = long
| > long
| > | unsigned int]'
| > | RcppExports.cpp:29:161:   instantiated from here
| > | C:/Program
| > Files/R/R-3.1.1/library/Rcpp/include/Rcpp/internal/Exporter.h:31:31:
| > | error: invalid conversion from 'SEXP' to 'long long unsigned int'
| >
| > You may need to define the C++11 compilation so that we get 'long long'
| > types. That is a known issue with Boost.  Or maybe we need to set a define
| > to
| > not request it -- I don't recall.
| 
| I'll also try to experiment with this on Windows. I hit something
| similar to this a while back and used the newer int64_t type from
| inttypes.h. I'll let you know what I find...

Really appreciate it. I have a fair amount of changes (from older SEXP
interfaces to newer, cleaner Rcpp Attributes-supported code) in the repo and
am due a new version anyway.  This may fit it in nicely too.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rquantlib-devel mailing list