Hello to everyone, I've tried a couple of times in the past to compile a fresh MAME build from github but it always fail giving me the following message
In file included from ../../../../../3rdparty/bgfx/src/glcontext_glx.cpp:13:0: ../../../../../3rdparty/bgfx/3rdparty/khronos/glx/glxext.h:39:0: error: "GLX_GLXEXT_VERSION" redefined [-Werror] #define GLX_GLXEXT_VERSION 20131028 In file included from /usr/include/GL/glx.h:333:0, from ../../../../../3rdparty/bgfx/src/glcontext_glx.h:12, from ../../../../../3rdparty/bgfx/src/renderer_gl.h:960, from ../../../../../3rdparty/bgfx/src/glcontext_glx.cpp:9: /usr/include/GL/glxext.h:37:0: note: this is the location of the previous definition #define GLX_GLXEXT_VERSION 20180525
cc1plus: all warnings being treated as errors bgfx.make:468: recipe for target '../../../../linux_gcc/obj/x64/Release/3rdparty/bgfx/src/glcontext_glx.o' failed make[2]: *** [../../../../linux_gcc/obj/x64/Release/3rdparty/bgfx/src/glcontext_glx.o] Error 1 Makefile:73: recipe for target 'bgfx' failed make[1]: *** [bgfx] Error 2 make[1]: *** Waiting for unfinished jobs....
makefile:1280: recipe for target 'linux_x64' failed make: *** [linux_x64] Error 2
my system is Kernel:4.15.0-38-generic x86_64 bits: 64 gcc: 7.3.0 Desktop: Cinnamon 3.8.9 (Gtk 2.24.32) dm: lightdm Distro: Linux Mint 19 Tara
I have installed the prerequisites with sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default
Any ideas? Thanks
|