0

このページの指示に従って、ubuntu 20.10 で Liquidfun 1.10 をコンパイルしようとしています: https://google.github.io/liquidfun/Building/html/md__building_linux.html

コマンドを実行すると:

cd liquidfun/Box2D
cmake -G'Unix Makefiles'
make

さまざまなエラーが発生し、ビルドが失敗します。これは画面出力です:

cmake -G'Unix Makefiles'
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


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:120 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::X11


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::ICE


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::SM


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xau


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  X11::Xcursor


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xdmcp


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xext


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  X11::Xxf86vm


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xfixes


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xi


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  X11::Xinerama


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xkb


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xmu


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xpm


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xrandr


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  X11::Xrender


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xss


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xt


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xutil


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to: X11::Xv


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  Threads::Threads


CMake Error at CMakeLists.txt:158 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  Threads::Threads


-- Configuring incomplete, errors occurred!

他の誰かがこの問題に遭遇しますか?

どんな助けでも大歓迎です

4

1 に答える 1