Skip to content
Prev 3484 / 10988 Next

[Rcpp-devel] RInside on windows

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 ----
________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120219/d1936f2a/attachment.html>