<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY>the exact errors series are:<br><span style=" color:#ff0000;">CMake Error at CMakeLists.txt:14 (string):</span>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;"> string sub-command SUBSTRING requires four arguments.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">CMake Error at CMakeLists.txt:19 (string):</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;"> string sub-command LENGTH requires two arguments.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">CMake Error at CMakeLists.txt:34 (string):</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;"> string sub-command SUBSTRING requires four arguments.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">CMake Error at CMakeLists.txt:50 (string):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> string sub-command SUBSTRING requires four arguments.</span></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">row 14:<span style="font-family: monospace;"><br></span></p><p style="margin: 0px; text-indent: 0px;"><span style="font-family: monospace;"></span>string(SUBSTRING ${RCPPFLAGS} ${NUM_TRUNC_CHARS} -1 RCPPFLAGS)</p><p style="margin: 0px; text-indent: 0px;">
</p>
<br><br><p style="margin: 0px; text-indent: 0px;"><br><span style="color: rgb(255, 0, 0);"></span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;"><br></span></p><br>
---- Message d'origine ----<br>
>De : "Peter Aberline" <Peter.Aberline@rms.com><br>
>À : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
> "edd@debian.org" <edd@debian.org><br>
>Objet : RE: Re: RE: [Rcpp-devel] RInside on windows<br>
>Date : 19/02/2012 15:56:06 CET<br>
>Copie à : "rcpp-devel@r-forge.wu-wien.ac.at" <rcpp-devel@r-forge.wu-wien.ac.at><br>
><br>
>I'm using Cmake 2.8.5 on Ubuntu 11.10 and it works fine for me.<br>
> <br>
> Which cmakelists file are you using, and what is on line 14?<br>
> <br>
> <br>
> <br>
> ________________________________________<br>
> From: pasparis@noos.fr [pasparis@noos.fr]<br>
> Sent: 19 February 2012 14:54<br>
> To: Peter Aberline; edd@debian.org<br>
> Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> Subject: Re: Re: RE: [Rcpp-devel] RInside on windows<br>
> <br>
> I use CMake 2.8.7,<br>
> it seems to be the latest, it it possible a conflict between the version <br>
> supplied in the RInside folder and this version?<br>
> <br>
> ---- Message d'origine ----<br>
> De : "Peter Aberline"<br>
> À : "'pasparis@noos.fr'" ;<br>
> "'edd@debian.org'"<br>
> Objet : Re: RE: [Rcpp-devel] RInside on windows<br>
> Date : 19/02/2012 15:41:27 CET<br>
> Copie à : "'rcpp-devel@r-forge.wu-wien.ac.at'"<br>
> <br>
> Make sure you are using the latest version of cmake. The files use a cmake <br>
> string function only in recent versions of cmake.<br>
> <br>
> * Sent from my mobile device.<br>
> <br>
> From: pasparis@noos.fr [mailto:pasparis@noos.fr]<br>
> Sent: Sunday, February 19, 2012 02:30 PM<br>
> To: Peter Aberline; edd@debian.org <edd@debian.org><br>
> Cc: rcpp-devel@r-forge.wu-wien.ac.at <rcpp-devel@r-forge.wu-wien.ac.at><br>
> Subject: Re: RE: [Rcpp-devel] RInside on windows<br>
> <br>
> Hello Peter<br>
> I tried to generate the file from the CMakeLists file supplied,I use the <br>
> cmake-gui but I get the following error:<br>
> I created a folder in which I put a main.cpp and the CMakeLists and then run <br>
> the generate from the cmake-gui<br>
> and I get:<br>
> <br>
> CMake Error at CMakeLists.txt:14 (string):<br>
> <br>
> string sub-command SUBSTRING requires four arguments.<br>
> <br>
> Is there something else to do?(I am new on cmake)<br>
> thanks<br>
> pascal<br>
> <br>
> ---- Message d'origine ----<br>
> De : "Peter Aberline"<br>
> À : "pasparis@noos.fr" ;<br>
> "Dirk Eddelbuettel"<br>
> Objet : RE: [Rcpp-devel] RInside on windows<br>
> Date : 14/02/2012 20:52:36 CET<br>
> Copie à : "rcpp-devel@r-forge.wu-wien.ac.at"<br>
> <br>
> You can generate .cbp files using the CMakelists.txt files which now ship <br>
> with the RInside examples.<br>
> <br>
> cmake –G “CodeBlocks - Unix Makefiles” <path to CMakeLists.txt><br>
> <br>
> <br>
> <br>
> From: rcpp-devel-bounces@r-forge.wu-wien.ac.at [mailto:rcpp-devel-bounces@r-f<br>
> orge.wu-wien.ac.at] On Behalf Of pasparis@noos.fr<br>
> Sent: 14 February 2012 19:51<br>
> To: Dirk Eddelbuettel<br>
> Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> Subject: Re: [Rcpp-devel] RInside on windows<br>
> <br>
> Dirk,<br>
> <br>
> yes but I start to use codeblocks since sunday, and<br>
> "it does not, by default, use makefiles it has its own .cbp files which do <br>
> the same thing automatically"<br>
> <br>
> it's very easy to use, I did it for boost with no problem, that's why I <br>
> wanted to know the include files and the lib<br>
> for rcpp,rinside<br>
> <br>
> it's possible to use a makefile with codeblock, I am going to try how to do <br>
> that,<br>
> thanks<br>
> pascal<br>
> <br>
> <br>
> <br>
> <br>
> ---- Message d'origine ----<br>
> >De : "Dirk Eddelbuettel" <edd@debian.org><br>
> >À : pasparis@noos.fr<br>
> >Objet : Re: [Rcpp-devel] RInside on windows<br>
> >Date : 14/02/2012 19:57:21 CET<br>
> >Copie à : rcpp-devel@r-forge.wu-wien.ac.at<br>
> ><br>
> ><br>
> > Patrick,<br>
> ><br>
> > On 14 February 2012 at 19:27, pasparis@noos.fr wrote:<br>
> > | this is one of my problem, I am new since this week-end on codeblocks, <br>
> I<br>
> > use<br>
> > | its builder and from what I thought you link with the static libraries<br>
> > | 'libRcpp.a,libRInside.a and the none availaible libR.a, and you put the<br>
> > three<br>
> > | dll files in your bin directory; thats why I was looking for libR.a.<br>
> > | even if I set libR.dll for the linker settings/link libraries, I get <br>
> some<br>
> > | messages:<br>
> > |<br>
> > | libRcpp.a undefined reference to '_Unwind_Resume'<br>
> > |<br>
> > | I put the include folder of Rcpp,R_ext and RInside, with additional .h<br>
> > files :<br>
> > | R,Rconfig,Rcpp,Rcppcommon,Rdefines,Rembedded,Rinternals,Rmath,Rversion,S,<br>
> ga<br>
> > ,graphapp,iconv,libintl,zconf,<br>
> > | and zlib<br>
> > |<br>
> > | I downloaded the R version 2.14.1 and the Rcpp,Rinside packages<br>
> > yesterday,<br>
> > |<br>
> > | what bother me is that I did that on linux with no problem, put the<br>
> > include,<br>
> > | set the linker to the three libraries and run, I need to work on <br>
> windows,<br>
> > and<br>
> > | there is this problem<br>
> > |<br>
> > | what do you put as library for the linker? which includes files?<br>
> ><br>
> > Use the supplied Makefile.win unless you /really/ know what you are <br>
> doing.<br>
> ><br>
> > Dirk<br>
> ><br>
> > --<br>
> > "Outside of a dog, a book is a man's best friend. Inside of a dog, it is<br>
> > too<br>
> > dark to read." -- Groucho Marx<br>
> ><br>
> <br>
> ________________________________<br>
> This message and any attachments contain information that may be RMS Inc. <br>
> confidential and/or privileged. If you are not the intended recipient (or <br>
> authorized to receive for the intended recipient), and have received this <br>
> message in error, any use, disclosure or distribution is strictly <br>
> prohibited. If you have received this message in error, please notify the <br>
> sender immediately by replying to the e-mail and permanently deleting the <br>
> message from your computer and/or storage system.<br>
> <br>
> ________________________________<br>
> This message and any attachments contain information that may be RMS Inc. <br>
> confidential and/or privileged. If you are not the intended recipient (or <br>
> authorized to receive for the intended recipient), and have received this <br>
> message in error, any use, disclosure or distribution is strictly <br>
> prohibited. If you have received this message in error, please notify the <br>
> sender immediately by replying to the e-mail and permanently deleting the <br>
> message from your computer and/or storage system.<br>
> <br>
> This message and any attachments contain information that may be RMS Inc. <br>
> confidential and/or privileged. If you are not the intended recipient (or <br>
> authorized to receive for the intended recipient), and have received this <br>
> message in error, any use, disclosure or distribution is strictly <br>
> prohibited. If you have received this message in error, please notify the <br>
> sender immediately by replying to the e-mail and permanently deleting the <br>
> message from your computer and/or storage system.<br>
> <br>
> </BODY></HTML>