Page 1 of 6 1 2 3 4 5 6 >
Topic Options
#35138 - 10/29/07 03:48 PM Sticky: How to compile SDLMAME! (Read me first!)
R. Belmont Offline

Very Senior Member

Registered: 03/17/01
Posts: 15273
Loc: USA
Like I said elsewhere, this thread is for people to post what needs to be done to compile SDLMAME on a base install of an OS or Linux distro. It is NOT for discussion or support - if you are unable to build SDLMAME with these instructions, please start a new thread!

To kick off, for Fedora 18/19/20:
Code:
yum install gcc gcc-c++ SDL-devel libXinerama-devel qt-devel expat-devel fontconfig-devel SDL_ttf SDL_ttf-devel


If you are using a joypad or joystick (including wired USB Xbox 360 controllers), you'll need to make sure those drivers are installed as well:
Code:
yum install kernel-modules-extra


Updated Dec, 2013: Updated for Fedora 20 and latest MAME/MESS.


Edited by R. Belmont (12/23/13 02:59 AM)
Edit Reason: 0.152 on F20 updates

Top
#35140 - 10/29/07 04:17 PM Re: SDLMAME distro cookbook [Re: R. Belmont]
play0r Offline
Member

Registered: 07/11/07
Posts: 24
Ubuntu 11.10 (should also work for Kubuntu)
Code:
sudo apt-get install build-essential subversion libsdl1.2-dev libgtk2.0-dev libgconf2-dev libsdl-ttf2.0-dev 


For Ubuntu 12.10 make that:
Code:
sudo apt-get install build-essential subversion libsdl1.2-dev libgtk2.0-dev libgconf2-dev libsdl-ttf2.0-dev gcc-4.6 g++-4.6


And for 14.04 make that:
Code:
sudo apt-get install build-essential subversion libsdl1.2-dev libgtk2.0-dev libgconf2-dev libsdl-ttf2.0-dev gcc-4.6 g++-4.6
sudo apt-get install libqt4-*


On 12.10, for MAME versions 0.147u5 and later 12.10 will be auto-detected and it will prompt you to install gcc-4.6 and g++-4.6 if you haven't already. If you do have them installed, it will build automatically. For 0.147u4 and earlier, you must "make DISTRO=gcc46-generic".

I believe this should be all you need, if not please correct me.

play0r

[RB - updated July 2014 for 14.04 and latest MAME/MESS]


Edited by R. Belmont (07/15/14 07:07 AM)

Top
#35144 - 10/29/07 07:34 PM Re: SDLMAME distro cookbook [Re: play0r]
judge Offline
Very Senior Member

Registered: 04/13/04
Posts: 1548
OS X:
- Install latest Xcode
- Install latest SDL development libraries
- make TARGETOS=macosx
- Add BIGENDIAN=1 to the line above when building for a PowerMac system

[RB - updated PPC instructions]


Edited by R. Belmont (05/24/08 03:22 PM)

Top
#35167 - 10/30/07 07:33 AM Re: SDLMAME distro cookbook [Re: Belegdol]
judge Offline
Very Senior Member

Registered: 04/13/04
Posts: 1548
For a FreeBSD system with an up to date ports tree:
- cd /usr/ports/emulators/sdlmame
- su
- make
- make install

That will automatically download, compile, and install sdlmame and all needed dependencies.

If you want to build from the latest u-update, make sure you have done the above at least once to get the needed dependencies and from there on it's just a matter of issuing the appropriate make commands.


Sadly enough, there doesn't seem to be a PBI for pcbsd yet for either sdlmame or sdlmess.


Edited by judge (10/30/07 09:09 AM)

Top
#41551 - 05/24/08 03:32 PM Re: SDLMAME distro cookbook [Re: judge]
billb Offline
Senior Member

Registered: 06/22/07
Posts: 223
For Yellow Dog 6 (assuming Software Development checked during install)

Code:
yum install gcc SDL-devel expat-devel zlib-devel mesa-libGL-devel gtk2-devel GConf2-devel


Detailed instructions


Edited by R. Belmont (03/05/09 04:50 PM)
Edit Reason: fixed GL name as per Bill

Top
#43035 - 07/19/08 11:04 PM Re: SDLMAME distro cookbook [Re: play0r]
couriersud Offline
Senior Member

Registered: 02/19/07
Posts: 463
Ubuntu 8.04 (Hardy Heron)
Code:
sudo apt-get install build-essential libsdl1.2-dev libgtk2.0-dev libxinerama-dev libgconf2-dev


Tested on a fresh install from the Live-CD.


Top
#44100 - 08/26/08 03:12 AM Re: SDLMAME distro cookbook [Re: couriersud]
R. Belmont Offline

Very Senior Member

Registered: 03/17/01
Posts: 15273
Loc: USA
For Debian and friends with OSS4, you may not get sound using the default libsdl1.2debian-alsa package. Replacing it with libsdl1.2debian-oss and specifying the sound driver for SDLMAME as "dsp" should work. (Thanks Rhapsody!)

Top
#44498 - 09/06/08 07:20 PM Re: SDLMAME distro cookbook [Re: R. Belmont]
jrcmilanez Offline
Senior Member

Registered: 12/04/06
Posts: 149
For Mandriva users:

1 - install your system with development packages
2 - get libsdl-devel package via urpmi
3 - edit SDLMAME makefile with your requirements
4 - make!

Top
#45488 - 10/11/08 11:33 AM Re: SDLMAME distro cookbook [Re: jrcmilanez]
Cyberzinho Punk Offline
Senior Member

Registered: 09/26/06
Posts: 200
Loc: São José dos Campos, SP, Bra...
For Slackware Linux users:

$ unzip sdlmamexxx.zip
$ cd ./sdlmamexxx
$ mcedit makefile //and edit for your requirements
$ make

Dependencies:

GConf (ftp://ftp.gnome.org/pub/GNOME/sources/GConf/)
ORBit2 (ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/)
intltool (ftp://ftp.gnome.org/pub/GNOME/sources/intltool/)


Edited by R. Belmont (11/10/08 05:46 PM)
Edit Reason: updated again
_________________________
Sorry, my English is bad!
MAME for Slackware

Top
#46678 - 12/05/08 01:20 AM Re: SDLMAME distro cookbook [Re: judge]
ElBarto Offline
Member

Registered: 07/01/08
Posts: 73
Loc: France, Paris
Originally Posted By judge
For a FreeBSD system with an up to date ports tree:
- cd /usr/ports/emulators/sdlmame
- su
- make
- make install

That will automatically download, compile, and install sdlmame and all needed dependencies.

If you want to build from the latest u-update, make sure you have done the above at least once to get the needed dependencies and from there on it's just a matter of issuing the appropriate make commands.


Sadly enough, there doesn't seem to be a PBI for pcbsd yet for either sdlmame or sdlmess.


I've updated the ports for sdlmame and sdlmess and also created a sdlmame-devel ports for u release.
They are not in the current ports-tree yet (I've opened PR but the original commiter seems dead ...).
Just get the tgz at http://distfiles.arcadebsd.org/ports rm the current directory and extract the new one.
I've removed the useless wrapper script and sdlmame and sdlmess use .mame and .mess respectively (sdlmame-devel use .mame-devel to avoid configuration problems).

Top
Page 1 of 6 1 2 3 4 5 6 >

Moderator:  R. Belmont 
Who's Online
3 registered (Dorando, A. Viloria, 1 invisible), 17 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4,688 Registered Members
9 Forums
8,162 Topics
105,133 Posts

Most users ever online: 225 @ 05/26/14 05:34 PM