Personal tools

Mame

From MohidWiki

Jump to: navigation, search

MAME

Installation linux

To build sdlmame, comply with the following pre-requisites:

> sudo apt-get install build-essential libsdl1.2-dev libgtk2.0-dev libxinerama-dev libgconf2-dev

Then, get the MAME src code,

> unzip mame.zip
> make

Troubleshoot

Q: When compiling I get error ompiling src/emu/video/9927tms9927.c... cc1plus: warnings being treated as errors src/emu/video/tms9927.c: In function 'void generic_access(const device_config*, offs_t)': src/emu/video/tms9927.c:142: error: array subscript is above array bounds. What should I do?

A: Edit the makefile and uncomment and edit the line

OPTIMIZE=0