Could you provide the build error you are referring to? You shouldn't need
to change the PKG_CXXFLAGS variable at all. Try restarting your
environment and rebuilding. I just created a package containing your code
with the BH package without error on Windows 7.
On Wed, Mar 11, 2015 at 7:09 AM, J
I think you want to check your DESCRIPTION file. I believe you need to
have the 'LinkingTo:' option to also include BH.
Regards,
Charles
On Wed, Mar 11, 2015 at 6:58 AM, Jordi Molins Coronado <
jordi_mol...@hotmail.com> wrote:
> Hello,
>
> I know this question has been answered before (and I ha
ff of the length function). Also, in my
> opinion, it is obsolete, especially for Rcpp code, since it is for writing
> code that works in R and S (including S+) and Rcpp will never work in S+.
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
> On Wed, Feb 25, 2015
package now compiles without error.
Thanks for your help Dirk, I know this was a long chain back and forth.
Regards,
Charles
On Wed, Feb 25, 2015 at 7:36 AM, Charles Determan Jr
wrote:
> My apologies, I should have just did this from the start. I thought it
> may be something simple. I create
My apologies, I should have just did this from the start. I thought it may
be something simple. I create a git repo to access the stripped down
package (just the first cpp function and a simple R function). If you
clone it with:
git clone https://github.com/cdeterman/test.git
And try to build
;refblas64longlong.h"
#define INT long long
#else
#include
#include
#define INT int
#endif
#include "bigmemory/BigMatrix.h"
#include
On Tue, Feb 24, 2015 at 3:29 PM, Dirk Eddelbuettel wrote:
>
> On 24 February 2015 at 15:06, Charles Determan Jr wrote:
> | Unfortunately I
015 at 2:51 PM, Dirk Eddelbuettel wrote:
>
> On 24 February 2015 at 14:41, Charles Determan Jr wrote:
> | Thank you for that clarification, I always seem to forget that Rcpp
> packages
> | have many libraries loaded by default. I have trimmed the headers down
> to the
Eddelbuettel wrote:
>
> On 24 February 2015 at 12:30, Charles Determan Jr wrote:
> | Greetings,
> |
> | I have run in to an error when compiling an R package that has the
> following
> | headers in the only cpp file at the moment:
> |
> | #include
> | #inclu
Greetings,
I have run in to an error when compiling an R package that has the
following headers in the only cpp file at the moment:
#include
#include
#include
#define R_NO_REMAP
#include
#include
#include
Now, I am also trying to use RcppArmadillo with:
#include
// [[Rcpp::depends(Rcpp