[Rcpp-devel] Rcpp, Windows and CMake

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


1) When doing that, there won't be any problem using a different
version of MinGW?

2) I'm guessing I'd want to do this in linux, to avoid including the
cygwin dlls?

--Jamie

Jamie Olson


On Wed, Jan 29, 2014 at 3:13 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> On 29 January 2014 at 15:07, Jamie Olson wrote:
> | I'm trying to build the Avro-C
> | library[http://avro.apache.org/docs/1.7.5/api/c/index.html].  There is
> | a README for building in
> | windows[http://svn.apache.org/repos/asf/avro/trunk/lang/c/README.maintaining_win32.txt]
> | but it only has instructions for Visual Studio.  I've recently been
> | wondering if that was intentional, since now cmake-generated MSYS
> | Makefiles are giving errors.
> |
> | Are you suggesting that I build the library with MinGW(in
> | cygwin/linux?) and then just copy it to link to when building the
> | package with Rcpp?
>
> In a nutshell, yes.
>
> If you want to / need to package Avro as a library it may be trickier. At a
> first pass try to build a static library, then link your Rcpp package to that.
>
> Dirk
>
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list