<!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>thanks you Peter, I 've installed cmake and copy the CMakeLists in the project directory<br><br>I don't understand your second sentence , <br><br>how do you set up the cmakelist file in codeblocks?<br><br>in the project->properties : Project settings check This is a custom make file<br>but then I can't select the cmakelist file ?<br><br><br>
---- Message d'origine ----<br>
De : "Peter Aberline" <peter.aberline@rms.com><br>
À : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
   "Dirk Eddelbuettel" <edd@debian.org><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" <rcpp-devel@r-forge.wu-wien.ac.at><br>
<br>

<div class="Section1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"calibri","sans-serif";color:#1f497d;">You can generate .cbp files using the CMakelists.txt files which now ship with the RInside examples.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"calibri","sans-serif";color:#1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"calibri","sans-serif";color:#1f497d;">cmake –G “CodeBlocks - Unix Makefiles”  <path to CMakeLists.txt><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"arial","sans-serif";color:black;background:white;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"arial","sans-serif";color:black;background:white;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"calibri","sans-serif";color:#1f497d;"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"tahoma","sans-serif";"> rcpp-devel-bounces@r-forge.wu-wien.ac.at [mailto:rcpp-devel-bounces@r-forge.wu-wien.ac.at]
<b>On Behalf Of </b>pasparis@noos.fr<br>
<b>Sent:</b> 14 February 2012 19:51<br>
<b>To:</b> Dirk Eddelbuettel<br>
<b>Cc:</b> rcpp-devel@r-forge.wu-wien.ac.at<br>
<b>Subject:</b> Re: [Rcpp-devel] RInside on windows<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dirk,<br>
<br>
yes but I start to use codeblocks since sunday, and <span style="font-size:10.0pt;font-family:"arial","sans-serif";color:black;background:white;">
<br>
"it does not, by default, use makefiles it has its own .cbp files which do the same thing automatically</span>"<br>
<br>
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<br>
for rcpp,rinside<br>
<br>
it's possible to use a makefile with codeblock, I am going to try how to do 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, 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 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,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 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 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>
> <o:p></o:p></p>
</div>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1">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.<br>
</font>
</rcpp-devel@r-forge.wu-wien.ac.at></edd@debian.org></pasparis@noos.fr></peter.aberline@rms.com></BODY></HTML>