Personal tools

Difference between revisions of "Mame"

From MohidWiki

Jump to: navigation, search
(Installation linux)
Line 7: Line 7:
 
  > unzip mame.zip
 
  > unzip mame.zip
 
  > make
 
  > 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
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 23:51, 17 August 2010

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