carlos-alberto-silva / rGEDI

rGEDI: An R Package for NASA's Global Ecosystem Dynamics Investigation (GEDI) Data Visualization and Processing.
164 stars 66 forks source link

Error installing: functionWrappers.h #16

Closed joaocarr closed 4 years ago

joaocarr commented 4 years ago

I'm hitting the wall every time I try to install rGEDI from GitHub:

"libclidar/libLasProcess.c:7:10: fatal error: functionWrappers.h: No such file or directory"

I'm running R 4.0.1 on Windows 10.

Any help highly appreciated

Joao

caiohamamura commented 4 years ago

How are you trying to install?

joaocarr commented 4 years ago

I'm using the code in the vignette:

devtools::install_github("carlos-alberto-silva/rGEDI", dependencies = TRUE)

caiohamamura commented 4 years ago

To meet the requirements of CRAN we've embedded the tools, libclidar and gedisimulator using git submodules but they don't work with devtools, this is an issue with devtools itself but we are thinking how to address this issue.

caiohamamura commented 4 years ago

Can you try this to see if it works?

devtools::install_git("https://github.com/carlos-alberto-silva/rGEDI", dependencies = TRUE)
joaocarr commented 4 years ago

Now I managed to install the package. Thank you!