How to solve the error “ missing required header GL/gl.h” while installing the Package mvoutlier in R?

后端 未结 8 1121
囚心锁ツ
囚心锁ツ 2021-01-31 01:48

I am trying to install the package mvoutlier but following error occurs during installation:

install.packages(\"mvoutlier\")
configure: error: missi         


        
相关标签:
8条回答
  • 2021-01-31 02:43

    the current fedora package manager will fail to find these libraries as shown. Instead you need to do

        sudo dnf install mesa-libGL-devel mesa-libGLU-devel
    
    0 讨论(0)
  • 2021-01-31 02:45

    I encountered an equivalent problem when testing a package that required 'rgl' on Travis. The problem is that the operating system lacks the necessary GL files on which the 'rgl' package draws.

    A thread at R-forge offers the ingenious solution of running apt-get install r-cran-rgl, which will pull in any of the GL dependencies not already present on the operating system. This seems simpler than second-guessing which specific dependency is missing, and it remains possible to install a more recent version of 'rgl' if required.

    0 讨论(0)
提交回复
热议问题