2 Replies Latest reply on Oct 10, 2018 7:15 PM by Wayne_X

    MediaServerStudioEssentials2018R1 encounts  fatal error: GL/gl.h: No such file or directory”

    Wayne_X

      Instruction

      Product versionMediaServerStudioEssentials2018R1

      Platform4  Intel(R) Core(TM) i5-6350HQ CPU @ 2.30GHz

      Linux dps4.centos74 3.10.0-693.el7.x86_64

      00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Pro Graphics 580 [8086:193b] (rev 09)

       

      My issue

      Firstly, install Media SDK;:

      enter SDK2018Production16.8/CentOS_7.4.

      # install_sdk_CentOS.sh

      It executes successfully.

      #reboot

       

      Then, exec Samples:

      # mkdir _build

      # cd _build

      # cmake ..

      # make

      Here, I encount a problem which says “/opt/intel/opencl/include/CL/cl.hpp:180:19: fatal error: GL/gl.h: No such file or directory”.

       

      I try many methods to solve the above problem.  It seems lack "mesa-libGL-devel".

      So I execute the next command to install it.

      # yum install mesa-libGL-devel

      but it shows a error:

      Error: Package: intel-linux-media-16.8-69021.el7.centos.x86_64 (installed)

      Requires: libdrm = 2.4.74-69021.el7.centos

      Removing: libdrm-2.4.74-69021.el7.centos.x86_64 (installed)

                     libdrm = 2.4.74-69021.el7.centos

      Updated By: libdrm-2.4.83-2.el7.x86_64 (base)

                     libdrm = 2.4.83-2.el7

      You could try using --skip-broken to work around the problem

      You could try running: rpm -Va --nofiles --nodigest

       

      I do not know how to solve it. Please, help me! Thank you.