GlPortal / glPortal

:video_game: Open Source teleportation based first person puzzle-platformer
http://glportal.de
Other
359 stars 109 forks source link

Could NOT find Assimp #180

Closed MarinoHappiness closed 3 years ago

MarinoHappiness commented 3 years ago

Hello,

Build fails with the following message:

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):
  external/RadixEngine/CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find Assimp (missing: ASSIMP_LIBRARY ASSIMP_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  external/RadixEngine/cmake/FindAssimp.cmake:30 (find_package_handle_standard_args)
  external/RadixEngine/CMakeLists.txt:70 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/marino/glPortal/CMakeFiles/CMakeOutput.log".

Thank you, Marino

To Reproduce Steps to reproduce the behavior: 1.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

hhirsch commented 3 years ago

@MarinoHappiness Sorry, default question, did you install assimp & assimp-dev (or similar packages) in the package manager.

MarinoHappiness commented 3 years ago

Yes, after installing all required packages, the build completed with no errors.