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

Rlog1p error on ARM mac #82

Open
ludvigla opened this issue Jun 20, 2024 · 0 comments
Open

Rlog1p error on ARM mac #82

ludvigla opened this issue Jun 20, 2024 · 0 comments

Comments

@ludvigla
Copy link

ludvigla commented Jun 20, 2024

When installing graphlayouts on my M2 Macbook pro, it fails.

This is the error I get:
error: no member named 'Rlog1p' in namespace 'std'; did you mean simply 'Rlog1p'?

The issue seems to have popped up in other R packages and is discussed here: conda-forge/r-base-feedstock#163

Based on this discussion, I simply modified the Makevars file to this:
PKG_CPPFLAGS = -DARMA_64BIT_WORD=1 -DHAVE_WORKING_LOG1P

Now graphlayouts installs without any issues.

Cheers,
Ludvig

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

1 participant