excellent ! this worked perfectlythanks a lot
On Thursday, December 20, 2012 at 1:04 AM, "Romain Francois"
wrote:Welcome in macro hell.
Try this:
#include
#include
#undef PARENT
#include
So one of these headers is defining a macro "PARENT" that conflicts
with
the name PARENT used in any.h
Welcome in macro hell.
Try this:
#include
#include
#undef PARENT
#include
So one of these headers is defining a macro "PARENT" that conflicts with
the name PARENT used in any.h. This should take care of it.
Romain
Le 20/12/12 00:56, jea...@hushmail.com a écrit :
thanks for the quick re
thanks for the quick reply!
first option did not change anything and second option seems to create
new errors linked to Rcpp:
jean@desktop:~/Documents/code experiments/gretl$ make
PKG_CPPFLAGS="-I/usr/share/R/include -I/usr/lib/R/library/Rcpp/include
-I/usr/include/libxml2 -I/usr/include/glib-2.0
-
The extern "C" looks suspicious. What happens if you don't include it ?
e.g.
#include
#include
#include
or perhaps:
#include
#include
#include
Romain
Le 20/12/12 00:39, jea...@hushmail.com a écrit :
Hi,
I am having trouble getting Rcpp to compile c++ files including headers
from the
Hi,
I am having trouble getting Rcpp to compile c++ files including
headers from the gretl statistical libraries
for instance, here are the first lines of a test cpp file I have been
trying to compile:
#include
extern "C" {#include #include }
now, here is the result of a make command in linux (d