Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkingTo: Rcpp #35

Closed
spkal opened this issue May 4, 2016 · 1 comment
Closed

LinkingTo: Rcpp #35

spkal opened this issue May 4, 2016 · 1 comment

Comments

@spkal
Copy link

spkal commented May 4, 2016

I think you need the line:
LinkingTo: Rcpp
in the DESCRIPTION file to avoid this error:
g++ -I/home/R/R-3.2.4/lib64/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -c mean_c.cpp -o mean_c.o
mean_c.cpp:1:18: fatal error: Rcpp.h: No such file or directory
#include <Rcpp.h>
when building the package

@csgillespie
Copy link
Owner

Thanks. I didn't spot the error.

The book isn't really a package. The DESCRIPTION file is just used to list dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants