[Rcpp-devel] help with an error on windows 7 64bits

Jiqiang Guo guojq28 at gmail.com
Wed Jul 11 03:01:51 CEST 2012


Dear List:

I case across an error on Windows 7 64bits,  any idea how can I avoid that?
I wish I could provide a demonstrative example, but it's too complicated
now.

This is the error report:


C:\Users\root\Desktop\stan\rstan>g++ -m64
-I"C:/PROGRA~1/R/R-215~1.1/include" -DNDEBUG
-I"C:/Users/root/R/win-library/2.15/rstan/include/stansrc"
 -I"C:/Users/root/R/win-library/2.15/rstan/include/stanlib/eigen_3.1.0"
 -I"C:/Users/root/R/win-library/2.15/rstan/include/stanlib/eigen_3.1.0/unsupported"
 -I"C:/Users/root/R/win-library/2.15/rstan/include/stanlib/boost_1.50.0"
 -I"C:/Users/root/R/win-library/2.15/rstan/include"
-I"C:/Users/root/R/win-library/2.15/Rcpp/include"
-I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2  -mtune=core2 -c
test.cpp -o test.o
In file included from
C:/Users/root/R/win-library/2.15/Rcpp/include/RcppCommon.h:319:0,
                 from
C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp.h:27,
                 from test.cpp:3:
C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/traits/Exporter.h: In
constructor 'Rcpp::traits::Exporter<T>::Exporter(SEXP) [with T = long long
unsigned int, SEXP = SEXPREC*]':
C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/as.h:51:51:
instantiated from 'T Rcpp::internal::as(SEXP,
Rcpp::traits::r_type_generic_tag) [with T = long long unsigned int, SEXP =
SEXPREC*]'
C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/as.h:75:89:
instantiated from 'T Rcpp::as(SEXP) [with T = long long unsigned int, SEXP
= SEXPREC*]'
C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/module/Module_generated_CppMethod.h:147:126:
  instantiated from 'SEXPREC* Rcpp::CppMethod1<Class, OUT,
U0>::operator()(Class*, SEXPREC**) [with Class =
rstan::stan_fit<dogs_namespace::dogs,
boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned
int, 40014u, 0u, 2147483563u>,
boost::random::linear_congruential_engine<unsigned int, 40692u, 0u,
2147483399u> > >, OUT = SEXPREC*, U0 = long long unsigned int, SEXP =
SEXPREC*]'
test.cpp:412:2:   instantiated from here
C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/traits/Exporter.h:31:37:
error: invalid conversion from 'SEXP' to 'long long unsigned int'
[-fpermissive]


Thanks,
Jiqiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120710/4c4f9c2e/attachment.html>


More information about the Rcpp-devel mailing list