-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install X4R #8
Comments
There's a known bug with doing a source install. (See #7.) If you can use the pre-built binaries, do so. Otherwise, I will need to post the hack for issue 7. |
Interesting behavior - I cannot use the !binary! package neither for my R-2.15.1 nor for the my R-3.1.0 installations (both on Windows 7 x64 and both R are x64 ! ). Compilation using:install.packages("devtools") Gives me for R 2.15.1 x64 this error:soapC.cpp:43826:21: note: in expansion of macro 'SOAP_NEW_ARRAY'
But succeeds for R 3.1.0 x64 and library X4R can be loaded ... |
Hi, Sorry for the problem. Hmm... that is odd. I have it working here on both I will look into the compilation problem again because that is the only George On Mon, Jul 21, 2014 at 12:25 PM, ric [email protected] wrote:
"Not everything that can be counted counts, and not everything that counts |
Greetings,
X4R looks interesting. When I try to install it I get the following error.
Am I doing something wrong?
OS = Windows 7
Thanks
** libs
g++ -m32 -I"C:/PROGRA
1/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.oIn 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'
Error: Command failed (1)
The text was updated successfully, but these errors were encountered: