[Rcpp-devel] Errors when just including Rcpp.h

Dirk Eddelbuettel edd at debian.org
Sat Oct 30 01:10:08 CEST 2010


On 29 October 2010 at 16:26, Andrew Redd wrote:
| I have a class that I am building that I want to interface through Rcpp, but
| when I just include Rcpp, even without any Rcpp code included. I get several
| errors that appear to be template problems. What is going on here?  I've
| attached the error output file.

There was no attachment.
 
| It compiles fine without including Rcpp.h.  I am developing with cuda so
| compiling with nvcc, which passes off to gcc, after the cuda code is
| extracted.

Header file interactions are not unheard of. Maybe try different orders of the
includes.  

I have not yet mixed Rcpp and nvcc myself. Worst case you may have to reduce
things to simpler interfaces.

Dirk

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


More information about the Rcpp-devel mailing list