MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Flat Mode Flat  

nikolasrozos
MAME Fan
Reged: 02/19/12
Posts: 17
Send PM
Help compiling MAME
11/08/18 11:05 PM


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







Entire thread
Subject Posted by Posted on
* Help compiling MAME nikolasrozos 11/08/18 11:05 PM
. * Re: Help compiling MAME TafoidAdministrator  11/09/18 02:55 AM
. * Re: Help compiling MAME nikolasrozos  11/09/18 03:07 PM
. * Re: Help compiling MAME R. Belmont  12/02/18 06:26 PM
. * Re: Help compiling MAME Vas Crabb  12/02/18 06:30 PM
. * Re: Help compiling MAME R. Belmont  12/02/18 07:54 PM
. * Re: Help compiling MAME Olivier Galibert  12/12/18 11:03 AM
. * Re: Help compiling MAME Vas Crabb  12/12/18 12:26 PM
. * Re: Help compiling MAME MooglyGuy  12/02/18 08:37 PM
. * Re: Help compiling MAME Paul Boehmer  11/29/18 10:37 PM
. * Re: Help compiling MAME nikolasrozos  12/02/18 07:45 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 169 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1257