Skip to content
Back to formatted view

Raw Message

Message-ID: <21382.25040.887482.59176@max.nulle.part>
Date: 2014-05-28T22:23:12Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] C++11 in Windows R package
In-Reply-To: <CAC_0WE_yNhn_NzKsXjW63TBCg3TGDYawTCWEJ9Ey0hyA+O-QnA@mail.gmail.com>

Matteo,

I may have found it. It is not as broken as I feared.  At the end of
RcppArmadilloConfig.h we have

// R can be built with its own Rlapack library, or use an external
// one. Only the latter has zgesdd, a complex-valued SVD using divide-and-conquer 
#ifdef WIN32
  // on Windows we do not assume ZGESDD
  #define ARMA_DONT_USE_CX_GESDD 1
#else
  // on the other OSs we test via LAPACK_LIBS (in configure) which
  // updates this include file
  #include <RcppArmadilloLapack.h>
#endif

so it was supposed to only include the library RcppArmadilloLapack.h if NOT
on Windows.  Somehow your configuration has undefined WIN32. 

We need to figure out why / who / where and correct it, and / or find a
better #ifdef here.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com