Open gyiptgyipt opened 9 months ago
CMake Deprecation Warning at CMakeLists.txt:33 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
This should be fixed by #678.
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.
This one doesn't make sense to me. We've been setting OpenGL_GL_PREFERENCE GLVND
since f6de60f5291258920ca7d03e8d593f1bab3f7867 more than a year ago. Are you compiling an older version of libfreenect? Maybe #678 will help anyway...
-- Checking for module 'glut'
-- No package 'glut' found
This one I have no idea. It works on my machine where the freeglut package provides these files.
/usr/include/GL/freeglut.h
/usr/include/GL/freeglut_ext.h
/usr/include/GL/freeglut_std.h
/usr/include/GL/freeglut_ucall.h
/usr/include/GL/glut.h
/usr/lib64/cmake/FreeGLUT/FreeGLUTConfig.cmake
/usr/lib64/cmake/FreeGLUT/FreeGLUTConfigVersion.cmake
/usr/lib64/cmake/FreeGLUT/FreeGLUTTargets-relwithdebinfo.cmake
/usr/lib64/cmake/FreeGLUT/FreeGLUTTargets.cmake
/usr/lib64/libglut.so -> libglut.so.3
/usr/lib64/libglut.so.3 -> libglut.so.3.12.0
/usr/lib64/libglut.so.3.12.0
/usr/lib64/pkgconfig/freeglut.pc
/usr/lib64/pkgconfig/glut.pc
freeglut3-dev does not include cmake files. Where is that coming from?
[parker@rogally build]$ dpkg -L freeglut3-dev
/.
/usr
/usr/include
/usr/include/GL
/usr/include/GL/freeglut.h
/usr/include/GL/freeglut_ext.h
/usr/include/GL/freeglut_std.h
/usr/include/GL/glut.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libglut.a
/usr/share
/usr/share/doc
/usr/share/doc/freeglut3-dev
/usr/share/doc/freeglut3-dev/copyright
/usr/share/doc/freeglut3-dev/download.html
/usr/share/doc/freeglut3-dev/freeglut.html
/usr/share/doc/freeglut3-dev/freeglut_logo.png
/usr/share/doc/freeglut3-dev/freeglut_user_interface.html
/usr/share/doc/freeglut3-dev/index.html
/usr/share/doc/freeglut3-dev/ogl_sm.png
/usr/share/doc/freeglut3-dev/progress.html
/usr/share/doc/freeglut3-dev/structure.html
/usr/lib/x86_64-linux-gnu/libglut.so
/usr/share/doc/freeglut3-dev/changelog.Debian.gz
They are provided by libglut-dev which only exists for mantic and above. This is for some reason left out from jammy and below.
I am trying to use xbox 360 depth camera in ubuntu 22.04. When I build this project , cmake show following warning and error.
I have glut library under "/usr/include/GL" but it shows No package 'glut' found