Difference between revisions of "Mame"
From MohidWiki
(→Installation linux) |
(→Troubleshoot) |
||
Line 10: | Line 10: | ||
==Troubleshoot== | ==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?''' | '''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 | A: Edit the makefile and uncomment and edit the line | ||
OPTIMIZE=0 | OPTIMIZE=0 | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest 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