[Excerpt] how to compile MAME in Ubuntu 10.04 lucid lynx

Source: Internet
Author: User

Http://maxolasersquad.blogspot.com/2010/12/how-to-compile-mame-in-ubuntu-1004.html

 

Using the following instructions you shoshould be able to compile mame on Ubuntu 10.04 lucid lynx, though it shoshould also work in most any other version of ubuntu too.

  1. Download the latest source from http://mamedev.org/release.html grab the. Zip version. The following command will grab the latest source as of the time I wrote this tutorial.
    Wget http://mamedev.org/downloader.php? File = releases/mame0140s.zip -- User-Agent = "Mozilla/5.0 (windows; U; Windows NT 5.1; en-US; RV: 1.8.1.6) gecko/20070725 Firefox/2.0.0.6 "-O mame_source.zip

    Here we change the user/agent string, because the server is set to prevent robots, like wget, from programmatically downloading the file.

  2. Unzip the file, and then unzip that file. Place it anywhere you like, perhaps your home directory.
    Mkdir Mame
    Unzip mame_source.zip
    Unzip mame.zip-D Mame
    Rm mame.zip

  3. Next we install all the libraries and dependencies necessary to build Mame.
    Sudo aptitude install build-essential libgtk2.0-dev libgnome2-dev libsdl1.2-Dev

  4. Finally, lets get to building it.
    CD Mame
    Make

  5. Let's setup a rom folder and get some ROMs.
    Mkdir ROMs
    CD ROMs
    Wget http://mamedev.org/roms/sidetrac/sidetrac.zip -- User-Agent = "Mozilla/5.0 (windows; U; Windows NT 5.1; en-US; RV: 1.8.1.6) Gecko/20070725 Firefox/2.0.0.6"

  6. Now that we have legally obtained an arcade Rom, let's play it!
    CD ..

once you know what libraries to install, compiling Mame from source is quite easy in Ubuntu. drop me a line in the comments if this is helpful, or if you run into any problems or have any suggestions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.