Skip to content

Example HilbertSort does not work on apple arm 64 #1

Description

@pbroser

When I am trying to use the
hilbertSort.cpp
with the R commands:

library(RcppCGAL)
Sys.setenv("CGAL_DIR" = "/opt/homebrew/Cellar/cgal/5.4.1/include")
Rcpp::sourceCpp("hilbertSort.cpp")

I get the following error:

"R.framework/Versions/4.2-arm64/Resources/library/RcppCGAL/include/CGAL/config.h:128:10: fatal error: 'boost/config.hpp' file not found"

Even when I am using the homebrew Cgal Version with R I get the same error
library(RcppCGAL)
Sys.setenv("CGAL_DIR" = "/opt/homebrew/Cellar/cgal/5.4.1/include")
Rcpp::sourceCpp("hilbertSort.cpp")

Any idea how to fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions