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

compilation error on Macbook pro (v10.15.7) with Catalina #2

Open
mattrichard-datascience opened this issue Jun 16, 2021 · 1 comment

Comments

@mattrichard-datascience

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [rmarchingcubes.so] Error 1
ERROR: compilation failed for package ‘rmarchingcubes’

@shwilks
Copy link
Owner

shwilks commented Jun 16, 2021

This looks like an error with the way your compiler is set up, it seems to be a common issue for the default mac setup not finding the fortran library. You can try and setup your default compiler to be g++ instead of clang. Alternatively the package has just been accepted to CRAN this morning so hopefully soon you can just run install.packages("rmarchingcubes").

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