[Rcpp-devel] RInside on windows

Peter Aberline Peter.Aberline at rms.com
Tue Feb 14 20:52:36 CET 2012

You can generate .cbp files using the CMakelists.txt files which now ship with the RInside examples.

cmake –G “CodeBlocks - Unix Makefiles”  <path to CMakeLists.txt>

From: rcpp-devel-bounces at r-forge.wu-wien.ac.at [mailto:rcpp-devel-bounces at r-forge.wu-wien.ac.at] On Behalf Of pasparis at noos.fr
Sent: 14 February 2012 19:51
To: Dirk Eddelbuettel
Cc: rcpp-devel at r-forge.wu-wien.ac.at
Subject: Re: [Rcpp-devel] RInside on windows


yes but I start to use codeblocks since sunday, and
"it does not, by default, use makefiles it has its own .cbp files which do the same thing automatically"

it's very easy to use, I did it for boost with no problem, that's why I wanted to know the include files and the lib
for rcpp,rinside

it's possible to use a makefile with codeblock, I am going to try how to do that,

---- Message d'origine ----
>De : "Dirk Eddelbuettel" <edd at debian.org>
>À : pasparis at noos.fr
>Objet : Re: [Rcpp-devel] RInside on windows
>Date : 14/02/2012 19:57:21 CET
>Copie à : rcpp-devel at r-forge.wu-wien.ac.at
> Patrick,
> On 14 February 2012 at 19:27, pasparis at noos.fr wrote:
> | this is one of my problem, I am new since this week-end on codeblocks, I
> use
> | its builder and from what I thought you link with the static libraries
> | 'libRcpp.a,libRInside.a and the none availaible libR.a, and you put the
> three
> | dll files in your bin directory; thats why I was looking for libR.a.
> | even if I set libR.dll for the linker settings/link libraries, I get some
> | messages:
> |
> | libRcpp.a undefined reference to '_Unwind_Resume'
> |
> | I put the include folder of Rcpp,R_ext and RInside, with additional .h
> files :
> | R,Rconfig,Rcpp,Rcppcommon,Rdefines,Rembedded,Rinternals,Rmath,Rversion,S,ga
> ,graphapp,iconv,libintl,zconf,
> | and zlib
> |
> | I downloaded the R version 2.14.1 and the Rcpp,Rinside packages
> yesterday,
> |
> | what bother me is that I did that on linux with no problem, put the
> include,
> | set the linker to the three libraries and run, I need to work on windows,
> and
> | there is this problem
> |
> | what do you put as library for the linker? which includes files?
> Use the supplied Makefile.win unless you /really/ know what you are doing.
> Dirk
> --
> "Outside of a dog, a book is a man's best friend. Inside of a dog, it is
> too
> dark to read." -- Groucho Marx

This message and any attachments contain information that may be RMS Inc. confidential and/or privileged. If you are not the intended recipient (or authorized to receive for the intended recipient), and have received this message in error, any use, disclosure or distribution is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the e-mail and permanently deleting the message from your computer and/or storage system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120214/41d949ac/attachment.html>

More information about the Rcpp-devel mailing list