<div dir="ltr">Hello,<div><br></div><div> I have tried win-builder on a basic package constructed with RcppArmadillo.package.skeleton() and</div><div>adding the line:</div><div><br></div><div>CXX_STD = CXX11<br></div><div>
<br></div><div>to Makevars.win triggers the error:</div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">d:/RCompile/CRANpkg/lib/3.1/RcppArmadillo/include/RcppArmadilloConfig.h:90:35: fatal error: RcppArmadilloLapack.h: No such file or directory</pre>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Does this help?</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Matteo</pre></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, May 28, 2014 at 11:47 PM, Matteo Fasiolo <span dir="ltr"><<a href="mailto:matteo.fasiolo@gmail.com" target="_blank">matteo.fasiolo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Dirk,<div><br></div><div> many thanks for the prompt reply.</div><div><br></div><div>Tomorrow I will simplify the package to locate the origin of the bug (which should</div><div>be caused by one of the dependencies I guess).</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Matteo</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 11:23 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Matteo,<br>
<br>
I may have found it. It is not as broken as I feared.  At the end of<br>
RcppArmadilloConfig.h we have<br>
<br>
// R can be built with its own Rlapack library, or use an external<br>
// one. Only the latter has zgesdd, a complex-valued SVD using divide-and-conquer<br>
#ifdef WIN32<br>
  // on Windows we do not assume ZGESDD<br>
  #define ARMA_DONT_USE_CX_GESDD 1<br>
#else<br>
  // on the other OSs we test via LAPACK_LIBS (in configure) which<br>
  // updates this include file<br>
  #include <RcppArmadilloLapack.h><br>
#endif<br>
<br>
so it was supposed to only include the library RcppArmadilloLapack.h if NOT<br>
on Windows.  Somehow your configuration has undefined WIN32.<br>
<br>
We need to figure out why / who / where and correct it, and / or find a<br>
better #ifdef here.<br>
<span><font color="#888888"><br>
Dirk<br>
</font></span><div><div><br>
--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>