Skip to content

Failed trying to install in Mac #44

Description

@pepbioalerts

I tried installing velox in Mac and get these errors during compilation

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/gethostuuid.h:39:17: error: C++ requires a type specifier for all declarations
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:662:27: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:664:27: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:727:31: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:729:31: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
5 errors generated.
make: *** [boostgeom.o] Error 1
ERROR: compilation failed for package ‘velox’

sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] udunits2_0.13 BH_1.72.0-3 raster_3.0-12 sp_1.4-1 sf_0.8-1 devtools_2.2.2 usethis_1.5.1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.4 compiler_3.6.1 prettyunits_1.1.1 remotes_2.1.1 class_7.3-15 tools_3.6.1
[7] testthat_2.3.2 digest_0.6.25 pkgbuild_1.0.6 pkgload_1.0.2 lattice_0.20-38 memoise_1.1.0
[13] rlang_0.4.5 cli_2.0.2 DBI_1.1.0 rstudioapi_0.11 curl_4.3 e1071_1.7-3
[19] withr_2.1.2 desc_1.2.0 fs_1.3.1 classInt_0.4-2 rprojroot_1.3-2 grid_3.6.1
[25] glue_1.3.1 R6_2.4.1 processx_3.4.2 fansi_0.4.1 sessioninfo_1.1.1 callr_3.4.2
[31] magrittr_1.5 codetools_0.2-16 backports_1.1.5 ps_1.3.2 ellipsis_0.3.0 units_0.6-7
[37] assertthat_0.2.1 KernSmooth_2.23-15 crayon_1.3.4

I checked the dependencies and I installed udunits ... I am not really sure how to proceed now as I really do not get the errors' meaning. Any hint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions