Closed mickeycampbell closed 1 year ago
Did you try to install CRAN version: install.packages("rGEDI")?
I did, and it said that rGEDI was not available for this version of R (4.2.0). For what it's worth, I also tried on another machine with v4.0.5 to no avail.
Now, I am getting a different error:
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lsz
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rGEDI'
* removing 'C:/Users/monikat/AppData/Local/R/win-library/4.2/rGEDI'
My R is R 4.2.2
Do you have rtools42 installed at C:\rtools42?
Do you have rtools42 installed at C:\rtools42?
Me? Yes. But first here was @mickeycampbell ;) Should I open a new issue with my error? Because it is different. His error is about hdf5, my error is about -lsz
Yes, it would be better for organization and for other people trying to solve their issues too.
After your question, I just uninstalled Rtools42 (Had it previously installed 09/2022) and installed again. Now installation from github works! But just in case I will open an issue with "-lsz" and suggest reinstalling Rtools42.
A-ha! I did the same (installed Rtools42), and I was able to successfully install rGEDI from github. Problem solved. Thanks!
Hello,
I am trying to install rGEDI on my Windows machine with R version 4.2.0 using the following command:
devtools::install_git("https://github.com/carlos-alberto-silva/rGEDI", dependencies = TRUE)
When I do so, I receive the following error:
It's not entirely clear to me what this error means or how I might go about resolving it. Any help is appreciated!
Thank you Mickey