[Rcpp-devel] RInterface.h missing in the windows
Prasanna Kumar Nelam
prasannakumar.n at imimobile.com
Mon Oct 1 11:55:10 CEST 2012
I also facing the same issue, I have installed Rtools and changed the Path.
After that, also I am facing the same issue.
Thanks in advance for help.
From: rcpp-devel-bounces at lists.r-forge.r-project.org
[mailto:rcpp-devel-bounces at lists.r-forge.r-project.org] On Behalf Of Dirk
Sent: Monday, August 13, 2012 12:02 AM
To: Jian Lu
Cc: rcpp-devel at lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] RInterface.h missing in the windows
On 12 August 2012 at 14:19, Jian Lu wrote:
| I am using R2.15.1 installed using windows binary file and would like to
| compile some RInside examples. I have set up the compiler and linker
| following the previous posts. Then I used Cygwin 1.7.16 to make the
What made you think you could use Cygwin?
| Makefile.win, there is a compiling error regarding the
| file. I have tried to copy the RInterface.h file from the R distributed
| code into the INCLUDE folder. But it seems that the header file works only
| under unix, not a fit for the windows system. Following are the compiler
| after replace the RInterface.h.
| (.text+0x74): undefined reference to `__imp___iob'
[ ... many similar lines deleted ... ]
| /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: C:/R/
| R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o): bad reloc
| in section `.data'collect2: ld returned 1 exit status
Obvious linking error, telling you that you are doing it wrong.
Developing with R on Windows is tedious, as you have to play by the rules:
- install RTools, make sure PATH etc are correct
- open a cmd.com window (or, equally, an MSys/MinGW window alloing you a
bash shell, but be carefule about $path here too)
- run 'make -f Makefile.win'
That works, and is supported. For everything else, you are on your own. That
includes Cygwin builds.
| Any comment is appreciated.
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Rcpp-devel mailing list
Rcpp-devel at lists.r-forge.r-project.org
More information about the Rcpp-devel