Hi,<br clear="all">I was interested in calling some R functions from a C++ program running on Windows (for a study project) ,<br>that&#39;s why I&#39;ve tried to use RInside on the &quot;overly complicated &#39;hello, world&#39; program&quot;, without achieving...<br>
<br>I&#39;ve tried a lot of different things, even modified the <b>Makefile.win</b> (...\R\win-library\2.12\RInside\examples\standard):<br>I&#39;ve put hard links for <b>RCPPINCL</b>/<b>RCPPLIBS</b>/<b>RINSIDEINCL</b>/<b>RINSIDELIBS</b> (the Windows prompt doesn&#39;t like : <b>echo &#39;Rcpp:::CxxFlags()&#39; | $(R_HOME)/bin/R --vanilla --slave </b>)<br>
<br><font size="2">It looks like :<br></font><font size="2">RCPPINCL :=  -I&quot;C:/Users/Carl/Documents/R/win-library/2.12/Rcpp/include&quot;<br>RCPPLIBS :=  -LC:/Users/Carl/Documents/R/win-library/2.12/Rcpp/lib/i386 -llibRcpp<br>
RINSIDEINCL :=  -I&quot;C:/Users/Carl/Documents/R/win-library/2.12/RInside/include&quot;<br>RINSIDELIBS :=     -LC:/Users/Carl/Documents/R/win-library/2.12/RInside/lib/i386/ -llibRInside</font><br><br>When i try<b> &#39;make -f Makefile.win</b>&#39;, I get an error :<br>
<b>c:/rtools/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: cannot find -llibRcpp</b><br><br>So i&#39;ve looked inside the package, I&#39;ve seen that, in the folder &#39;lib\i386&#39;, there is a <b>libRInside.dll</b> (with a <b>libRInside.a</b>) in RInside but only a <b>libRcpp.a</b> in Rcpp .I&#39;ve seen that  It&#39;s maybe the problem... (i don&#39;t know a lot on the subject...)<br>
<br>I&#39;ve tried to use the <b>Rcpp.dll</b> in &#39;libs\i386&#39;  instead. (I don&#39;t understand the difference between &quot;lib&quot; and &quot;libs&quot;)<br>The <b>&#39;make -f Makefile.win</b>&#39; ends without errors but when i execute the .exe i get an error : &quot;Rcpp.dll missing&quot;<br>
<br><br><span class="clickable">Afterwards, i saw on forums that new versions of RInside (i have 0.2.3) doesn&#39;t work on Windows.<br>Is it always true? </span><br>If it&#39;s true, what version of RInside and Rcpp i need to use instead?<br>
<br>My configuration :<br>Windows 7 X86 (32 bits)<br>R 2.12.0<br>RTools 2.12<br>RInside 0.2.3<br>Rcpp 0.8.9<br><br>P.S. : Sorry for my English, I&#39;m french!<br><br>-- <br>Carl VINCENT.<br>INSA de Rennes - 4INFO - TDMM <br>