[Rcpp-devel] Having trouble installing small package.
John Buonagurio
jbuonagurio at exponent.com
Tue Jun 3 00:55:01 CEST 2014
Hi Ilya,
> install_github(repo="IKTrading", username="IlyaKipnis")
> I get a whole stream of errors too large to even copy and paste into a single post, and I'm not quite sure what's going wrong.
* installing *source* package 'IKTrading' ...
** libs
*** arch - i386
g++ -m32 -shared -s -static-libgcc -o IKTrading.dll tmp.def RcppExports.o RcppFuns.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/R-31~1.0/bin/i386 -lR
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input file `RcppExports.o' is incompatible with i386 output
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input file `RcppFuns.o' is incompatible with i386 output
R is attempting to link to the *.o files in your repo. Remove those (preferably use .gitignore) and it should build fine. Tested and working on Windows with R CMD INSTALL.
Best,
John
More information about the Rcpp-devel
mailing list