Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mame-rr doesn't compile on Linux (fix included) #2

Open
GoogleCodeExporter opened this issue May 9, 2015 · 1 comment
Open

Mame-rr doesn't compile on Linux (fix included) #2

GoogleCodeExporter opened this issue May 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Mame-rr doesn't compile at all on Linux because there is some win32 code in it.
As Mame and Lua runs on Linux, I think that Mame-rr should run on Linux too.

The following patch should allow you to compile Mame-rr for Linux. So far it 
has only been tested on Ubuntu 10.10 but should work on other distributions too.
The patch just does the minimum, it disables the features that were using win32 
code and fixes the others.
I tested it with Street Fighter 2 and it runs, albeit slowly.

-First, cd to your source directory and apply the patch with the following 
command:
patch -p0 < mame-rr-linux-target.diff

-Then, download the lua 5.1 archive and decompress it in the directory of your 
choice.  

-Finally, you just need to provide LUA source directory like this :
LUA_SRC_DIR=/your/path/to/lua make

After the patch, Mame-rr should still compiles on Windows(not tested).
I hope it helps.

Original issue reported on code.google.com by jg.fou...@gmail.com on 5 Apr 2011 at 3:41

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant