[Rcpp-devel] RInside on windows

Peter Aberline Peter.Aberline at rms.com
Sun Feb 19 15:56:06 CET 2012


I'm using Cmake 2.8.5 on Ubuntu 11.10 and it works fine for me.

Which cmakelists file are you using, and what is on line 14?



________________________________________
From: pasparis at noos.fr [pasparis at noos.fr]
Sent: 19 February 2012 14:54
To: Peter Aberline; edd at debian.org
Cc: rcpp-devel at r-forge.wu-wien.ac.at
Subject: Re: Re: RE: [Rcpp-devel] RInside on windows

I use CMake 2.8.7,
it seems to be the latest, it it possible a conflict between the version supplied in the RInside folder and this version?

---- Message d'origine ----
De : "Peter Aberline"
À : "'pasparis at noos.fr'" ;
   "'edd at debian.org'"
Objet : Re: RE: [Rcpp-devel] RInside on windows
Date : 19/02/2012 15:41:27 CET
Copie à : "'rcpp-devel at r-forge.wu-wien.ac.at'"

Make sure you are using the latest version of cmake. The files use a cmake string function only in recent versions of cmake.

* Sent from my mobile device.

From: pasparis at noos.fr [mailto:pasparis at noos.fr]
Sent: Sunday, February 19, 2012 02:30 PM
To: Peter Aberline; edd at debian.org <edd at debian.org>
Cc: rcpp-devel at r-forge.wu-wien.ac.at <rcpp-devel at r-forge.wu-wien.ac.at>
Subject: Re: RE: [Rcpp-devel] RInside on windows

Hello Peter
I tried to generate the file from the CMakeLists file supplied,I use the cmake-gui but I get the following error:
I created a folder in which I put a main.cpp and the CMakeLists and then run the generate from the cmake-gui
and I get:

CMake Error at CMakeLists.txt:14 (string):

string sub-command SUBSTRING requires four arguments.

Is there something else to do?(I am new on cmake)
thanks
pascal

---- Message d'origine ----
De : "Peter Aberline"
À : "pasparis at noos.fr" ;
   "Dirk Eddelbuettel"
Objet : RE: [Rcpp-devel] RInside on windows
Date : 14/02/2012 20:52:36 CET
Copie à : "rcpp-devel at r-forge.wu-wien.ac.at"

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

Dirk,

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,
thanks
pascal




---- 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.

________________________________
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.

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.



More information about the Rcpp-devel mailing list