-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Greetings,
X4R looks interesting. When I try to install it I get the following error.
Am I doing something wrong?
OS = Windows 7
Thanks
library(httr)
library(devtools)
install_github('X4R', 'overcoil')
Installing github repo(s) X4R/master from overcoil
Downloading X4R.zip from https://github.com/overcoil/X4R/archive/master.zip
Installing package from C:\Users\2000051\AppData\Local\Temp\Rtmpsjcale/X4R.zip1/R/R-30~1.1/bin/i386/R" --vanilla CMD INSTALL
Installing X4R
"C:/PROGRA
"C:\Users\200005135\AppData\Local\Temp\Rtmpsjcale\X4R-master"
--library="C:/Users/200005135/Documents/R/win-library/3.0" --with-keep.source --install-tests
- installing source package 'X4R' ...
** libs
g++ -m32 -I"C:/PROGRA1/R/R-301.1/include" -DNDEBUG -I. -I"C:/Users/200005135/Documents/R/win-library/3.0/Rcpp/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c X4R.cpp -o X4R.o
In file included from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:154:0,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/winsock2.h:23,
from stdsoap2.h:736,
from soapStub.h:20,
from soapH.h:13,
from soapXmlaWebServiceSoapProxy.h:13,
from X4R.h:22,
from X4R.cpp:18:
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:52: error: macro "Realloc" requires 3 arguments, but only 2 given
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: ISO C++ forbids initialization of member 'Realloc' [-fpermissive]
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: making 'Realloc' static [-fpermissive]
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: invalid in-class initialization of static data member of non-integral type 'void_'
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected identifier before '(' token
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: 'parameter' declared as function returning a function
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected ')' before ',' token
In file included from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/msxml.h:209:0,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/urlmon.h:219,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:348,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,
from c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/winsock2.h:23,
from stdsoap2.h:736,
from soapStub.h:20,
from soapH.h:13,
from soapXmlaWebServiceSoapProxy.h:13,
from X4R.h:22,
from X4R.cpp:18:
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected identifier before '(' token
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: 'parameter' declared as function returning a function
c:\r\rtools\gcc-4.6.3\bin../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected ')' before ',' token
make: *_* [X4R.o] Error 1
ERROR: compilation failed for package 'X4R' - removing 'C:/Users/200005135/Documents/R/win-library/3.0/X4R'
Error: Command failed (1)