[Rcpp-devel] Question about include paths
Tim Keitt
tkeitt at utexas.edu
Fri Jun 12 18:19:09 CEST 2015
If I have
<pkg>/inst/include/pkg.h
that contains
#include<foo/bar.h>
where "foo/bar.h" is in
<pkg>/inst/include/foo/bar.h
The header "bar.h" is not found. What is the standard way to do this? Put
"bar.h" into <pkg>/src? It seems odd to alter Makevars adding a path to
"<pkg>/inst/include/foo" as I would think that is automatic.
(Sorry is this is not an Rcpp question -- I am using Rcpp in the package.)
THK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150612/b2f23caf/attachment.html>
More information about the Rcpp-devel
mailing list