carlos-alberto-silva / rGEDI

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

configure: error: could not find geotiff.h #36

Closed binturong123 closed 2 years ago

binturong123 commented 2 years ago

Hello,

I have been trying to install the rGEDI package, but have been running into issues with the correct R version (I've tried all versions available including arm 64). When I tried to install the development version I run into issues with szip and for installing through the compressed file I keep receiving an error that libgeotiff.h cannot be found.

I am on mac m1 (Apple Silicon) and have tried installing libgeotiff and szip through homebrew, macport, as well as a compressed file. Any help regarding this would be greatly appreciated.

Cheers

binturong123 commented 2 years ago

I was able to get past the libgeotiff issue by building manually. However, I am still stuck up on szip

caiohamamura commented 2 years ago

I was able to get past the libgeotiff issue by building manually. However, I am still stuck up on szip

Are you familiar with brew? You just need to install those libraries using brew.

brew install geotiff
brew install szip
...
binturong123 commented 2 years ago

Hi Caio,

Yes, I installed szip with brew but the error keeps showing up.

binturong123 commented 2 years ago

Issue solved. Thank you! It was an issue with the file paths not linking to the brew installations. Cheers