tiagodc / TreeLS

R functions for processing individual tree TLS point clouds
GNU General Public License v3.0
82 stars 27 forks source link

TreeLS installation error (macOS) #21

Closed mansi-aggarwal-2504 closed 3 years ago

mansi-aggarwal-2504 commented 4 years ago

I am using R 4.0.2 (upgraded from 3.6.2 due to a certain error while installing data.table) I am trying to install TreeLS using devtools::install_github('tiagodc/TreeLS') but I am getting this error.

Screenshot 2020-08-24 at 11 32 23 AM

I think that the problem lies in the link between R and clang. Does anyone know how I can fix this issue?

EDIT:

I followed steps mentioned here, on Rstudio community mentioning a similar problem and followed the solution mentioned. I downloaded and installed the appropriate gfortran binary. But I'm getting a different error now:

Screenshot 2020-08-24 at 11 32 23 AM

Seems like I need something called XQuartz. Is there a workaround or is it necessary for all macOS users?

tiagodc commented 4 years ago

XQuartz is used for 3D plotting with rgl on macOS, check this thread as it might be helpful.

Unfortunately I don't have access to a macOS right now to debug, so if anyone can help I appreciate!

tiagodc commented 3 years ago

@mansi-aggarwal-2504 , did you manage to solve this issue? Can I close this?