[Rprotobuf-yada] Compiling on RHEL 64 bit Linux

Saptarshi Guha saptarshi.guha at gmail.com
Thu Dec 24 18:54:05 CET 2009


Yes, it all compiled now(thanks), but ...

** preparing package for lazy loading
Loading required package: Rcpp
Error in rematchDefinition(definition, fdef, mnames, fnames, signature) :
  methods can add arguments to the generic only if '...' is an
argument to the generic
Error: unable to load R code in package 'RProtoBuf'



On Thu, Dec 24, 2009 at 12:51 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> On 24 December 2009 at 12:44, Saptarshi Guha wrote:
> | Hello,
> | Yes, that fixed that. However, one slight thing
> |
> | g++ -I/ln/meraki/custom/lib64/R/include
> | -I/ln/meraki/custom/lib64/R/library/Rcpp/lib -pthread
> | -I/ln/meraki/custom/include   -I/usr/local/include    -fpic  -g -O2 -c
> | DescriptorPoolLookup.cpp -o DescriptorPoolLookup.o
> | /ln/meraki/custom/lib64/R/library/Rcpp/lib/Rcpp.h: In member function
> | ‘void RcppDatetime::parseTime()’:
> | /ln/meraki/custom/lib64/R/library/Rcpp/lib/Rcpp.h:98: warning:
> | converting to ‘time_t’ from ‘double’
> | /ln/meraki/custom/lib64/R/library/Rcpp/lib/Rcpp.h:99: warning:
> | converting to ‘int’ from ‘double’
> | DescriptorPoolLookup.cpp: In static member function ‘static SEXPREC*
> | rprotobuf::DescriptorPoolLookup::getElements()’:
> | DescriptorPoolLookup.cpp:24: error: ‘RcppSexp’ was not declared in this scope
> |
> |
> | Do I have an old version of Rcpp? I checked Rcpp.h and did not find
> | RcppSexp, my Rcpp version is 0.6.6
>
> Yup! That one is from last week.  The DESCRIPTION for RProtoBuf may need
> updating.
>
> The Rcpp from CRAN should be fine -- 0.7.0 -- but you can of course also play
> with SVN which is currently pretty close.
>
> Dirk
>
> --
> Three out of two people have difficulties with fractions.
>


More information about the Rprotobuf-yada mailing list