FS#61007 - [allegro] Does not compile in arch
Attached to Project:
Community Packages
Opened by Rafael Vega (rvega) - Sunday, 09 December 2018, 02:00 GMT
Last edited by Balló György (City-busz) - Friday, 29 March 2019, 11:34 GMT
Opened by Rafael Vega (rvega) - Sunday, 09 December 2018, 02:00 GMT
Last edited by Balló György (City-busz) - Friday, 29 March 2019, 11:34 GMT
|
Details
Description: After updating my packages with pacman -Syu,
allegro will not compile anymore. There are a bunch of
olenGL related functions that are undefined.
I tried compiling manually from the git repository at https://github.com/liballeg/allegro5, both the master branch and the 5.2.4 tag. Also tried compiling by downloading the PKGBUILD from https://www.archlinux.org/packages/community/x86_64/allegro/ and the outcome is the same. I'm attaching the output of makepkg -i. Also, there is the following warning when configuring. I added the following to the CMakeLists.txt file and the warning went away but there are still a lot of compile errors related to GL functions not being declared. ========================== CMake Warning (dev) at /usr/share/cmake-3.12/Modules/FindOpenGL.cmake:270 (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/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib/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 task depends upon
Closed by Balló György (City-busz)
Friday, 29 March 2019, 11:34 GMT
Reason for closing: Fixed
Additional comments about closing: allegro 5.2.5-1
Friday, 29 March 2019, 11:34 GMT
Reason for closing: Fixed
Additional comments about closing: allegro 5.2.5-1
set(OpenGL_GL_PREFERENCE "GLVND")