Install the latest SDL 2.0.4 from (under SDL Mercurial): cd Sudo apt-get install build-essential libfreeimage-dev libopenal-dev libpango1.0-dev libsndfile-dev libudev-dev libasound-dev libwebp-dev automake Install the required libraries: sudo apt-get install libjpeg-dev This version of Raspbian comes with GCC 4.9.Īs always update apt: sudo apt-get update I did a brand new install of the latest Raspbian build called “Jessie” to a Class 10 – 16 GB microSD card. This is on my Pi 2 overclocked on “Medium” 900Mhz. The main mame compile afterwards took 5 hours and 32 minutes using the make -j4 option which uses all four of the Pi 2 cores. It does take a long time to compile, the first “tiny” test build takes 31 minutes. You just have to make sure you have the proper libraries installed on the Pi and you give it enough RAM to compile and you are good to go. The MAME source code compiles on the Raspberry Pi 2 without any modification to the source code. I used the help from Steve Boswell and his site listed here and some good compiling info for the Raspberry Pi here and more specifically SDL2 on a Raspberry Pi here. I waste more time fighting with compiling than I do writing my programs in these structured languages, so please don’t think I’m a guru at compiling ‘C’ source code. I have given learning ‘C’ many tries over the years but I always have problems compiling my code once my programs start getting big. I’m an old programmer who came from programming my CoCo (TRS-80 Color Computer) in BASIC then I learned 6809 Assembly language. Plus it has some really powerful imgtools to work with emulated disks and cassette/cartridge files for the computer emulations. A lot of the emulation I want is from the early 1980’s and it successfully emulates games and computers of this era at 100%. Why would I want to compile the full version of MAME? Because it’s the latest version and is continually being updated with more accurate emulation of old hardware. Successfully compiled the full and complete version of MAME 0.167 on a Raspberry Pi 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |