Re: [Rcpp-devel] Can not build under linux/osx

2014-03-11 Thread Kevin Ushey
Hi Jianyang, I can't replicate your error on Mac OS X or Ubuntu 13.04 (gcc 4.7.3). The package installs successfully for me in each case with latest git revision of Rcpp, and latest CRAN version of RcppEigen (after removing the src-i386 and src-x64 folders and the prebuilt .dll) What version of g

Re: [Rcpp-devel] Can not build under linux/osx

2014-03-11 Thread Jianyang Zhao
Hello Kevin, I guess this is the problem. I just check the server I used and the gcc is 4.4.6-4. Thank you for your help. Jianyang On Tue, Mar 11, 2014 at 4:46 PM, Kevin Ushey wrote: > Hi Jianyang, > > I can't replicate your error on Mac OS X or Ubuntu 13.04 (gcc 4.7.3). > The package install

Re: [Rcpp-devel] Can not build under linux/osx

2014-03-11 Thread Jianyang Zhao
Hello Kevin, I use the least version Rcpp and RcppEigen. The github link is at https://github.com/uzhao/PACE Thanks, JIanyang On Tue, Mar 11, 2014 at 1:36 PM, Kevin Ushey wrote: > Hi Jianyang, > > If you are willing to put your package on GitHub or somewhere else > publicly accessible, I ca

Re: [Rcpp-devel] Can not build under linux/osx

2014-03-11 Thread Kevin Ushey
Hi Jianyang, If you are willing to put your package on GitHub or somewhere else publicly accessible, I can take a closer look. My best guess, from your compiler output, is you're trying to construct a vector from a proxy, and the compiler can't figure out what constructor to call. You might want

[Rcpp-devel] Can not build under linux/osx

2014-03-11 Thread Jianyang Zhao
Hello All, I'm writing a package which is able to build under windows. But when I try to build it under linux, I got this error message. (hilbert)-PACE$ R CMD INSTALL . * installing to library '/home/uzhao/R/x86_64-unknown-linux-gnu-library/3.0' * installing *source* package 'PACE' ... ** libs g+