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

Can not install agg_basics.h: No such file or directory #139

Closed
pati-ni opened this issue Jul 5, 2023 · 2 comments
Closed

Can not install agg_basics.h: No such file or directory #139

pati-ni opened this issue Jul 5, 2023 · 2 comments

Comments

@pati-ni
Copy link

pati-ni commented Jul 5, 2023

In R 4.3 I get the following error when I try to install from CRAN

In file included from capture_dev.cpp:1:
ragg.h:13:10: fatal error: agg_basics.h: No such file or directory
   13 | #include "agg_basics.h"
      |          ^~~~~~~~~~~~~~

Any idea where this error come from?

@kylebaron
Copy link

I had the same issue with R 4.3.1 on macos.

Should be able to find the header file:
https://github.com/r-lib/ragg/blob/main/src/Makevars.in#L1

But not finding it. I found that removing (renaming) my ~/.R/Makevars will get -I./agg/include into the mix and the header file will be found. Not sure why my Makevars file is overriding the file provided by ragg.

@pati-ni
Copy link
Author

pati-ni commented Aug 19, 2023

Removing PKG* does the trick
RcppCore/RcppEigen#128

@pati-ni pati-ni closed this as completed Aug 19, 2023
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