K-3D / k3d

The main K-3D code repository
http://www.k-3d.org/
GNU General Public License v2.0
199 stars 51 forks source link

CMake is confused about OpenGL #47

Open Pythone opened 2 months ago

Pythone commented 2 months ago
CMake Warning (dev) at CMakeLists.txt:1 (PROJECT):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:5 (CMAKE_POLICY):
  The OLD behavior for policy CMP0003 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:7 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- checking the width of std::vector<>::size_type for this platform
--   std::vector<>::size_type is 64 bits
-- checking for module 'cairomm-1.0'
--   found cairomm-1.0, version 1.12.2
-- checking for module 'dbus-glib-1'
--   found dbus-glib-1, version 0.112
-- checking for module 'freetype2'
--   found freetype2, version 24.1.18
-- checking for module 'giomm-2.4'
--   found giomm-2.4, version 2.66.2
-- checking for module 'glibmm-2.4>=2.26'
--   found glibmm-2.4, version 2.66.2
-- checking for module 'gtkglext-1.0'
--   found gtkglext-1.0, version 1.2.0
-- checking for module 'gtkmm-2.4'
--   found gtkmm-2.4, version 2.24.5
-- checking for module 'gtksourceview-2.0'
--   package 'gtksourceview-2.0' not found
-- checking for module 'gts'
--   package 'gts' not found
-- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY) (found version "6.9.11-60")
-- checking for module 'OpenEXR'
--   found OpenEXR, version 2.5.7
CMake Warning (dev) at /home/<username>/.local/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenGL.cmake:315 (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):
  cmake/modules/K3DFindOpenGL.cmake:3 (FIND_PACKAGE)
  CMakeLists.txt:58 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- checking for one of the modules 'glewmx;glew'
-- checking for module 'osmesa'
--   package 'osmesa' not found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")  
-- checking for module 'sigc++-2.0'
--   found sigc++-2.0, version 2.10.4
-- checking for package 'EXPAT'
--   found EXPAT
-- Found unsuitable Qt version "5.15.3" from /usr/bin/qmake
CMake Error at cmake/modules/K3DDependencies.cmake:10 (MESSAGE):
  K-3D requires OpenGL, which can be obtained from http://opengl.org.
Call Stack (most recent call first):
  CMakeLists.txt:259 (K3D_CHECK)

-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.72.4
-- generating i18n catalog
--   done
-- Configuring incomplete, errors occurred!
Pythone commented 2 months ago

Specs: Pop!_OS 22.04 LTS on nvidia gtx 1650 super with Ryzen 5 2600

doc-halo commented 2 months ago

Unfortunately, this project has long been dead. I would move on to Wings3d or Blender.