<div dir="ltr">I posted the follow up email adding [SOLVED] to the subject, but I thought it would appear in the same thread. Here it is:<br><div><div><div class="gmail_extra"><br><a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2013-October/006555.html">http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2013-October/006555.html</a><br>
<br></div><div class="gmail_extra">Indeed, one of the suggested solution out there was to add "typename" in the typdef statement, but I don't control that piece of code, which is in Rcpp itself. Maybe Dirk and Romain can look into the implications of that for the next release?<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">I eventually managed to get RcppOctave working on Windows!!! The library issue got solved by using proper gcc linking flags, making the libraries nicely dynamically loaded.<br>
</div><div class="gmail_extra">I want to start another thread on the Rcp and RcppOctave list, to ask willing windows users to actually test the binary package I built on R-3.0.2.<br></div><div class="gmail_extra">I see strange things happening when building/checking the package in the crappy cmd.exe terminal on my VirtualBox Windows7 (which makes me even happier to run Ubuntu ;) ), so I'd rather ask plain R/Windows users a hand.<br>
</div><div class="gmail_extra"><br>Thanks again for your inputs.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Bests,<br></div><div class="gmail_extra">Renaud<br><br></div><div class="gmail_extra"><div class="gmail_quote">
On 4 October 2013 17:30, Steve Jaffe <span dir="ltr"><<a href="mailto:sjaffe@riskspan.com" target="_blank">sjaffe@riskspan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Sorry it didn't fix the problem. (I'd still recommend making the change for the reasons I gave.)<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">I don't see your follow up email yet, so I'll take a guess and say that you may be missing a "<span>typename</span>", something like:<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span><b>typedef</b></span><b> <span>typename</span> OUT <span>result_type</span> ;</b><br>
<u></u><br><u></u><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u><u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">This was my first thought on seeing the error; I've seen many like it and that's usually the reason. <u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">But I couldn't convince myself of why the C++ rules would require a <span>typename</span> in that spot. <span> </span><u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">But the rules are sufficiently arcane that, in general, <span> </span>it's worth inserting a <span>typename</span> or two whenever the compiler says that something isn't what it "obviously" is (and templates are involved.)<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">(Support your local C++ compiler! It has a (provably) tough job to do. :-)<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Good luck,<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Steve<u></u><u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<br></div></div></blockquote></div></div></div></div></div>