[Rcpp-devel] Rcpp, Windows and CMake

Jamie Olson jamie.f.olson at gmail.com
Wed Jan 29 17:42:21 CET 2014

Three more things:

1) Is the WIN.readme.txt in examples/eigen/cmake incorrect, then?

2)  The Rtools documentation specifies that the Rtools paths should
come BEFORE cygwin paths.  Is there a similar rule for MSys?

3) Should I continue to just used the MinGW installed with Rtools or
should I/can I use a fresh install of MinGW?


Jamie Olson

On Wed, Jan 29, 2014 at 11:19 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
> On 29 January 2014 at 11:05, Jamie Olson wrote:
> | Thanks Dirk, I'll take a stab with MSys.  Just wondering, though, why
> | then are the Rtools commands based on cygwin instead of MSys?
> |
> | I thought that the RInside examples were to be built using Cygwin
> | because they use the "Unix Makefiles" generator.  I hadn't yet seen
> | anything to indicate that was possible on windows without cygwin.
> | >From the CMake wiki[http://www.cmake.org/Wiki/CMake_Generator_Specific_Information#Makefile_generators]:
> |
> | This generator generates Makefiles for make under Unix and also for
> | cygwin (i.e. with Unix paths)
> |
> |
> | Do "Unix Makefiles" work on MSys, too, or should I use "MinGW Makefiles"?
> Ok, let me speak to the Makefiles shipped with RInside: there is src/Makefile
> for Linux and OS X, and there is src/Makefile.win for the other OS.
> Ditto in each of the six inst/examples/* subdirectories. That is what is
> shipped and supported -- using make and your g++/clang++/... compiler on
> Linux or OS X, and using make (built for Windows) and your g++ from Rtools.
> In short, no 'Unix Makefiles' generator anywhere. Maybe this comes from
> contributed CMake examples.  But it seems that this is between you and CMake,
> and the CMake examples, why useful to those using RIinside with IDEs
> deploying CMake, are not the documented use case.
> Maybe get the basic stuff working first.  Say 'make -f Makefile.win' in one
> of the examples directoies. Take it from there.
> Hope this helps,  Dirk
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

More information about the Rcpp-devel mailing list