Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System requirements and GL version for build lumahdrv #9

Open
pfk-beta opened this issue Apr 8, 2021 · 1 comment
Open

System requirements and GL version for build lumahdrv #9

pfk-beta opened this issue Apr 8, 2021 · 1 comment

Comments

@pfk-beta
Copy link

pfk-beta commented Apr 8, 2021

Hi,

During building lumahdrv I've got following warning:

CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when                                     
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the                              
  cmake_policy command to set the policy and suppress this warning.                                       

  FindOpenGL found both a legacy GL library:                                                              

    OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so                                                 

  and GLVND libraries for OpenGL and GLX:                                                                 

    OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so                                         
    OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so                                               

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for                                    
  compatibility with CMake 3.10 and below the legacy GL library will be used.                             
Call Stack (most recent call first):                                                                      
  CMakeLists.txt:20 (find_package)                                   

I have ignored it. But I also get error during compilation:

/lumahdrv/src/luma_quantizer.cpp:263:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  263 |  return res;
      |  ^~~~~~
[ 11%] Building CXX object CMakeFiles/luma_decoder.dir/src/mkv_interface.cpp.o
[ 14%] Linking CXX shared library libluma_decoder.so
[ 14%] Built target luma_decoder
Scanning dependencies of target lumaplay
[ 18%] Building CXX object CMakeFiles/lumaplay.dir/lumaplay.cpp.o
/lumahdrv/lumaplay.cpp:66:10: fatal error: lumaplay_dequantizer_glsl.h: No such file or directory
   66 | #include "lumaplay_dequantizer_glsl.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/lumaplay.dir/build.make:63: CMakeFiles/lumaplay.dir/lumaplay.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/lumaplay.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
The command '/bin/sh -c git clone -q --depth 1 --branch v1.0.0 https://github.com/gabrieleilertsen/lumahdrv.git &&     cd lumahdrv && mkdir build && cd build && cmake ../ && make && make install' returned a non-zero code: 2

@pfk-beta
Copy link
Author

pfk-beta commented Apr 8, 2021

I have solved problem. Need to install at least following packets: cmake yasm zlib1g-dev libebml-dev libmatroska-dev libpfs-dev libopenexr-dev libgl1-mesa-dev libvpx-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant