<!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 command "r cmd config --cppflags"<br>gives the following message<br><br>cmd __ignored__<br>config __ignored__<br>warning unknown option --cppflags<br><br>and then R version 2.14.1 ....<br>several rows<br>and<br>q() for quit<br>><br><br><br>
---- Message d'origine ----<br>
>De : "Peter Aberline" <Peter.Aberline@rms.com><br>
>À : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
>       "patrick@burns-stat.com" <patrick@burns-stat.com><br>
>Objet : RE: Re: [Rcpp-devel] RInside on windows<br>
>Date : 19/02/2012 18:20:36 CET<br>
>Copie à : "rcpp-devel@r-forge.wu-wien.ac.at" <rcpp-devel@r-forge.wu-wien.ac.at><br>
><br>
>What output does it give you? It should give you a single line output and <br>
> return you to the DOS command prompt.<br>
> <br>
> <br>
> ________________________________________<br>
> From: pasparis@noos.fr [pasparis@noos.fr]<br>
> Sent: 19 February 2012 17:12<br>
> To: Peter Aberline; patrick@burns-stat.com<br>
> Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> Subject: Re: Re: [Rcpp-devel] RInside on windows<br>
> <br>
>  now it's only two errors (before 4) and the r cmd config --cppflags works<br>
> I enter into R with it<br>
> <br>
> <br>
> <br>
> <br>
> ---- Message d'origine ----<br>
> >De : "Peter Aberline" <Peter.Aberline@rms.com><br>
> >À : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
> > "Patrick Burns" <patrick@burns-stat.com><br>
> >Objet : Re: [Rcpp-devel] RInside on windows<br>
> >Date : 19/02/2012 18:01:48 CET<br>
> >Copie à : "rcpp-devel@r-forge.wu-wien.ac.at" <rcpp-devel@r-forge.wu-wien.ac<br>
> .at><br>
> ><br>
> >This is still the same error you were getting before. This indicates that<br>
> > the<br>
> > R CMD config --cppflags<br>
> ><br>
> > command is still not working. Have you got that to work yet?<br>
> ><br>
> ><br>
> > ________________________________________<br>
> > From: pasparis@noos.fr [pasparis@noos.fr]<br>
> > Sent: 19 February 2012 16:33<br>
> > To: Patrick Burns; Peter Aberline<br>
> > Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> > Subject: Re: Re: [Rcpp-devel] RInside on windows<br>
> ><br>
> > Hello Patrick,<br>
> ><br>
> > having set the path removed 2 errors, there was no R_HOME variable I put <br>
> one<br>
> > but there is still the<br>
> > two errors from CMake (2.8.7);<br>
> > I reboot the machine;clean the project folder from what was generated<br>
> > before;<br>
> ><br>
> > user variable<br>
> > R_HOME : c:\Program Files\R\R-2.14.1<br>
> ><br>
> > system variable<br>
> > Path : C:\Program Files\R\R-2.14.1\bin\i386;<br>
> ><br>
> ><br>
> > the error I get from CMake-Gui :<br>
> ><br>
> > CMake Error at CMakeLists.txt:14 (string):<br>
> ><br>
> > string sub-command SUBSTRING requires four arguments.<br>
> ><br>
> > CMake Error at CMakeLists.txt:19 (string):<br>
> ><br>
> > string sub-command LENGTH requires two arguments.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ---- Message d'origine ----<br>
> > >De : "Patrick Burns" <patrick@burns-stat.com><br>
> > >À : "Peter Aberline" <Peter.Aberline@rms.com><br>
> > >Objet : Re: [Rcpp-devel] RInside on windows<br>
> > >Date : 19/02/2012 17:15:16 CET<br>
> > >Copie à : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
> > > "rcpp-devel@r-forge.wu-wien.ac.at" <rcpp-devel@r-forge.wu-wien.ac.at><br>
> > ><br>
> > >I suspect that R_HOME is not set.<br>
> > ><br>
> > > On 19/02/2012 15:41, Peter Aberline wrote:<br>
> > > > Well that's you're problem then. Until you can get that to work, the<br>
> > build<br>
> > > will not work.<br>
> > > ><br>
> > > > Do you have R, Rcpp and RInside installed?<br>
> > > ><br>
> > > > ________________________________________<br>
> > > > From: pasparis@noos.fr [pasparis@noos.fr]<br>
> > > > Sent: 19 February 2012 15:38<br>
> > > > To: Peter Aberline; edd@debian.org<br>
> > > > Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> > > > Subject: Re: RE: RE: Re: RE: [Rcpp-devel] RInside on windows<br>
> > > ><br>
> > > > R is not recognized as an internal command<br>
> > > ><br>
> > > ><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: RE: [Rcpp-devel] RInside on windows<br>
> > > >> Date : 19/02/2012 16:30:45 CET<br>
> > > >> Copie à : "rcpp-devel@r-forge.wu-wien.ac.at"<rcpp-devel@r-forge.wu-wi<br>
> en<br>
> > .a<br>
> > > c.at><br>
> > > >><br>
> > > >> Looks like the RCPPFLAGS variable is null for some reason.<br>
> > > >><br>
> > > >> What do you get if you type:<br>
> > > >> R CMD config --cppflags<br>
> > > >><br>
> > > >> Into a terminal console?<br>
> > > >><br>
> > > >><br>
> > > >><br>
> > > >> ________________________________________<br>
> > > >> From: pasparis@noos.fr [pasparis@noos.fr]<br>
> > > >> Sent: 19 February 2012 15:25<br>
> > > >> To: Peter Aberline; edd@debian.org<br>
> > > >> Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> > > >> Subject: Re: RE: Re: RE: [Rcpp-devel] RInside on windows<br>
> > > >><br>
> > > >> the exact errors series are:<br>
> > > >> CMake Error at CMakeLists.txt:14 (string):<br>
> > > >><br>
> > > >> string sub-command SUBSTRING requires four arguments.<br>
> > > >><br>
> > > >> CMake Error at CMakeLists.txt:19 (string):<br>
> > > >><br>
> > > >> string sub-command LENGTH requires two arguments.<br>
> > > >><br>
> > > >> CMake Error at CMakeLists.txt:34 (string):<br>
> > > >><br>
> > > >> string sub-command SUBSTRING requires four arguments.<br>
> > > >><br>
> > > >> CMake Error at CMakeLists.txt:50 (string):<br>
> > > >><br>
> > > >> string sub-command SUBSTRING requires four arguments.<br>
> > > >><br>
> > > >><br>
> > > >> row 14:<br>
> > > >><br>
> > > >> string(SUBSTRING ${RCPPFLAGS} ${NUM_TRUNC_CHARS} -1 RCPPFLAGS)<br>
> > > >><br>
> > > >><br>
> > > >><br>
> > > >><br>
> > > >><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-w<br>
> ie<br>
> > n.<br>
> > > ac<br>
> > > >> .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<br>
> > > 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 <br>
> a<br>
> > > >> 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>
> ><br>
> <br>
> ><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 <br>
> use<br>
> > > 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<br>
> > > then<br>
> > > >> 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 <br>
> now<br>
> > > ship<br>
> > > >>> with the RInside examples.<br>
> > > >>><br>
> > > >>> cmake –G “CodeBlocks - Unix Makefiles”<path to <br>
> CMakeLists.txt><br>
> > > >>><br>
> > > >>><br>
> > > >>><br>
> > > >>> From: rcpp-devel-bounces@r-forge.wu-wien.ac.at<br>
> > > >> [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<br>
> > which<br>
> > > >> do<br>
> > > >>> the same thing automatically"<br>
> > > >>><br>
> > > >>> it's very easy to use, I did it for boost with no problem, that's <br>
> why<br>
> > 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 <br>
> how<br>
> > > to<br>
> > > >> 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<br>
> > > >> codeblocks,<br>
> > > >>> I<br>
> > > >>>> use<br>
> > > >>>> | its builder and from what I thought you link with the static<br>
> > > >> libraries<br>
> > > >>>> | 'libRcpp.a,libRInside.a and the none availaible libR.a, and you<br>
> > put<br>
> > > >> the<br>
> > > >>>> three<br>
> > > >>>> | dll files in your bin directory; thats why I was looking for<br>
> > libR.a.<br>
> > > >>>> | even if I set libR.dll for the linker settings/link libraries, I<br>
> > 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<br>
> > additional<br>
> > > >> .h<br>
> > > >>>> files :<br>
> > > >>>> | R,Rconfig,Rcpp,Rcppcommon,Rdefines,Rembedded,Rinternals,Rmath,Rver<br>
> si<br>
> > on<br>
> > > ,<br>
> > > >> 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<br>
> > 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 <br>
> 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,<br>
> > it<br>
> > > >> is<br>
> > > >>>> too<br>
> > > >>>> dark to read." -- Groucho Marx<br>
> > > >>>><br>
> > > >>><br>
> > > >>> ________________________________<br>
> > > >>> This message and any attachments contain information that may be <br>
> RMS<br>
> > > Inc.<br>
> > > >>> confidential and/or privileged. If you are not the intended <br>
> recipient<br>
> > > (or<br>
> > > >>> authorized to receive for the intended recipient), and have <br>
> received<br>
> > > this<br>
> > > >>> message in error, any use, disclosure or distribution is strictly<br>
> > > >>> prohibited. If you have received this message in error, please <br>
> notify<br>
> > > the<br>
> > > >>> sender immediately by replying to the e-mail and permanently <br>
> deleting<br>
> > > the<br>
> > > >>> message from your computer and/or storage system.<br>
> > > >>><br>
> > > >>> ________________________________<br>
> > > >>> This message and any attachments contain information that may be <br>
> RMS<br>
> > > Inc.<br>
> > > >>> confidential and/or privileged. If you are not the intended <br>
> recipient<br>
> > > (or<br>
> > > >>> authorized to receive for the intended recipient), and have <br>
> received<br>
> > > this<br>
> > > >>> message in error, any use, disclosure or distribution is strictly<br>
> > > >>> prohibited. If you have received this message in error, please <br>
> notify<br>
> > > the<br>
> > > >>> sender immediately by replying to the e-mail and permanently <br>
> deleting<br>
> > > the<br>
> > > >>> message from your computer and/or storage system.<br>
> > > >>><br>
> > > >>> This message and any attachments contain information that may be <br>
> RMS<br>
> > > Inc.<br>
> > > >>> confidential and/or privileged. If you are not the intended <br>
> recipient<br>
> > > (or<br>
> > > >>> authorized to receive for the intended recipient), and have <br>
> received<br>
> > > this<br>
> > > >>> message in error, any use, disclosure or distribution is strictly<br>
> > > >>> prohibited. If you have received this message in error, please <br>
> notify<br>
> > > the<br>
> > > >>> sender immediately by replying to the e-mail and permanently <br>
> deleting<br>
> > > the<br>
> > > >>> message from your computer and/or storage system.<br>
> > > >>><br>
> > > >>><br>
> > > >><br>
> > > >> This message and any attachments contain information that may be RMS<br>
> > > Inc.<br>
> > > >> confidential and/or privileged. If you are not the intended <br>
> recipient<br>
> > > (or<br>
> > > >> authorized to receive for the intended recipient), and have received<br>
> > > this<br>
> > > >> message in error, any use, disclosure or distribution is strictly<br>
> > > >> prohibited. If you have received this message in error, please <br>
> notify<br>
> > > the<br>
> > > >> sender immediately by replying to the e-mail and permanently <br>
> deleting<br>
> > > the<br>
> > > >> message from your computer and/or storage system.<br>
> > > >><br>
> > > >><br>
> > > ><br>
> > > > This message and any attachments contain information that may be RMS<br>
> > Inc.<br>
> > > confidential and/or privileged. If you are not the intended recipient <br>
> (or<br>
> > > authorized to receive for the intended recipient), and have received <br>
> this<br>
> > > message in error, any use, disclosure or distribution is strictly<br>
> > > prohibited. If you have received this message in error, please notify <br>
> the<br>
> > > sender immediately by replying to the e-mail and permanently deleting <br>
> the<br>
> > > message from your computer and/or storage system.<br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Rcpp-devel mailing list<br>
> > > > Rcpp-devel@lists.r-forge.r-project.org<br>
> > > > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel<br>
> <br>
> > > ><br>
> > ><br>
> > > --<br>
> > > Patrick Burns<br>
> > > patrick@burns-stat.com<br>
> > > http://www.burns-stat.com<br>
> > > http://www.portfolioprobe.com/blog<br>
> > > twitter: @portfolioprobe<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>
> <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>